Pages: [1]   Go Down
  Print  
Author Topic: URL detection flaw causes OS X apps to crash  (Read 338 times)
HCK
Global Moderator
Hero Member
*****
Posts: 79425



« on: February 05, 2013, 07:01:04 am »

URL detection flaw causes OS X apps to crash
   




   

Over the weekend, reports of a rather curious OS X bug were reported with a mixture of amusement and surprise. Affecting only recent versions of Mountain Lion—including, according to some reports, as-yet unreleased betas of the operating system—the bug manifests itself in the form of a crash every time you type File:/// (with an uppercase F) inside most standard text input controls like those you can find in a Web form or in text editors like TextEdit.


Bugs are nothing new, of course, but this one is particularly interesting because it affects almost every app that uses OS X’s standard text-input mechanisms. Luckily, it’s a relatively minor issue that occurs only rarely in real-life use, and can be easily addressed by a few mouse clicks in the right System Preferences pane.

What’s happening?

Recent versions of OS X include a feature, called data detectors, which allows apps to automatically recognize certain kinds of information when it appears in a piece of text. You can see it at work whenever Mail detects that a message you have received contains an address or a phone number and allows you to, for example, create an entry in the Contacts app at the click of a mouse.


One of the jobs entrusted to the detectors is that of recognizing Internet URLs. Thus, when you type something like http://macworld.com, an app can use data detectors to automatically recognize it as a URL and make it clickable. As you can imagine, this greatly enhances the user’s experience, since the alternative would be to manually copy-and-paste Web addresses into a browser, which is both time consuming and error prone.
To read this article in full or to leave a comment, please click here
      

http://www.macworld.com/article/2027007/url-detection-flaw-causes-os-x-apps-to-crash.html
   
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: