Unable to play Streams that require authentication in Safari

Originator:ePirat07
Number:rdar://19923407 Date Originated:23-Feb-2015 07:46 PM
Status:Open Resolved:
Product:Safari on iOS Product Version:iOS 8.1.3 (12B466)
Classification:Other Bug Reproducible:Always
 
Summary:
Safari has a Bug that makes it impossible to play Audio or Video Streams (i.e. Icecast/Shoutcast Streams) that require HTTP Basic Auth.

Steps to Reproduce:
1. Enter the URL of an Audio or Video Stream that require HTTP Basic Auth in the Safari Address Bar and hit enter
2. A dialog pops-up asking for the required Username and Password, enter the (right) credentials and hit OK

Expected Results:
Safari should play the stream as expected, as the needed Auth data was given.

Actual Results:
Safari will not play the stream and just show a play button that does nothing when tapped.

Safari will make four request to the media stream, the first, obviously without any Authorization header set. The server responds with Status Code 401, indicating that authentication is required. Safari asks the User for the credentials and makes another request, which contains the right Authentication header. Safari cancels this request for some unknown reason and makes another one, without an Authorization header, which fails as the server sends error Code 401 due to the missing Auth details. Safari then makes another request without Authorization headers which fails too.

Version:
Safari on iOS 8.1.3 (12B466)

Notes:


Configuration:
iPhone 5S

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!