Get all your news in one place.
100’s of premium titles.
One app.
Start reading
The Guardian - UK
The Guardian - UK
Technology
Samuel Gibbs

Apple pushes out update to fix iPhone broken-links bug

iPhone 6S Plus updating
Update your iPhone or iPad now to iOS 9.3.1 to fix broken links. Photograph: Samuel Gibbs for the Guardian

Apple has pushed out an update for iPhones and iPads to fix a bug that caused devices to lock up, batteries to drain and links to be completely inoperative.

The updated version of iOS 9.3.1 is available now through the Settings app on an iPhone or iPad, or though iTunes on a Windows or OS X computer. It fixes a problem caused by rogue third-party apps that overload one of the core components of iOS that handles links within apps from Safari, Mail and Messages to many third-party apps.

The problem was pinned down to apps, including Booking.com, using large lists of URLs within Apple’s Universal Links system, which lets apps claim certain URLS and open them within the app rather than Safari. For instance, if a user tapped on a theguardian.com link, and had the Guardian app installed, that link would open the Guardian app by default, rather than load the Guardian website in Safari.

The problem was highlighted by users updating to iOS 9.3, which launched 21 March, causing iOS to re-catalogue the links and their associations with apps across all third-party, Universal Link-using apps installed on the phone.

Some apps, including the Booking.com app, had incorrectly formatted lists of URLs. In Booking.com’s case it had a database of thousands of URLs individually listed, which came to 2.3MB in size. Most apps have databases of only a few kilobytes, and use wildcards to denote that every link with a certain domain would open in the app.

The size and complexity of the URL list broke the Universal Links system, sending the iPhone or iPad into a constant loop and making all links inoperable across most of the system and with it incurring the wrath of users infuriated by broken phones.

Booking.com updated its app to remove the massive database of URLs, but that did not fix the problem, requiring Apple to push out an update to all iPhones and iPads running iOS 9.

Updating via the phone, tablet or computer should fix any broken iPhones or iPads, and prevent the problem from happening again.

Sign up to read this article
Read news from 100’s of titles, curated specifically for you.
Already a member? Sign in here
Related Stories
Top stories on inkl right now
One subscription that gives you access to news from hundreds of sites
Already a member? Sign in here
Our Picks
Fourteen days free
Download the app
One app. One membership.
100+ trusted global sources.