Open Bug 1352302 Opened 7 years ago Updated 2 years ago

Can't download file behind basic auth

Categories

(Firefox for iOS :: Browser, defect)

Other
iOS
defect

Tracking

()

People

(Reporter: hwine, Unassigned)

References

Details

The download works fine with Safari, but not from Focus, Firefox, Firefox Beta, or Chrome. Focus at least shows an "Unauthorized" message - the others some flavor of "download failed".

From the command line:
$ curl -IL -s -v -X GET --include --user xxx:"yyy zzz" https://ck.example.com/calibre/get/EPUB/Liran%20Tal-Essential%20Node.js%20Security_2041.epub >/dev/null
*   Trying 67.169.xxx.xxx...
* TCP_NODELAY set
* Connected to ck.example.com (xx.xx.xx.xx) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
* Server certificate: ck.example.com
* Server certificate: Let's Encrypt Authority X3
* Server certificate: DST Root CA X3
* Server auth using Basic with user 'xxx'
> GET /calibre/get/EPUB/Liran%20Tal-Essential%20Node.js%20Security_2041.epub HTTP/1.1
> Host: ck.example.com
> Authorization: Basic zzzzzz
> User-Agent: curl/7.51.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Fri, 31 Mar 2017 03:28:31 GMT
< Server: calibre/2.61.0
< Content-Type: application/epub+zip
< Content-Disposition: attachment; filename="Essential Node.js Security - Liran Tal_2041.epub"
< Last-Modified: Thu, 30 Mar 2017 23:36:39 GMT
< Content-Length: 1153707
<
* Curl_http_done: called premature == 0
* Connection #0 to host ck.example.com left intact

I only recently upgraded from an old iPhone 4s, so I know this has worked with Safari for years.
See Also: → 1437817
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.