Safari misinterprets HTTP URI schemes

Originator:and.damore
Number:rdar://18852697 Date Originated:2014-11-02
Status:Duplicate of 18694523 Resolved:
Product:Safari Product Version:8.0 (10600.1.25)
Classification:Other Bug Reproducible:always
 
Summary:
Safari 8.0 cannot correctly parse URI schemes containing an user part.

Steps to Reproduce:
Open Safari 8.0

Open http://foo:bar@apple.com that is a valid URL according to [1] and related RFCs

[1] http://tools.ietf.org/html/rfc1738#section-3.1

Expected Results:
Opening the target server with HTTP basic authentication.

Actual Results:
Safari displays a dialog saying:
"""
There is no application set to open the URL foo:bar@apple.com.
"""

Closing the dialog the Safari window displays:
"""
Safari can't open the specified address

Safari can't open "foo:bar@apple.com" because OS X doesn't recgnize Internet addresses starting with "foo:".
"""

Version:
Safari version 8.0 (10600.1.25) on OS X 10.10

Notes:


Configuration:


Attachments:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!