HTTPS-Only mode: HSTS Response leads to error page
Categories
(Core :: DOM: Security, defect, P3)
Tracking
()
People
(Reporter: t.yavor, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [domsecurity-backlog1])
Attachments
(2 files)
To reproduce:
mozregression --pref dom.security.https_only_mode:true -a http://bugs.debian.org/wnpp --launch 2021-05-01
Updated•5 years ago
|
Updated•5 years ago
|
| Reporter | ||
Comment 1•5 years ago
|
||
That's the first request
| Reporter | ||
Comment 2•5 years ago
|
||
Request that is successful
| Reporter | ||
Comment 3•5 years ago
|
||
STR:
- enable
https-only mode - visit
http://bugs.debian.org/wnpp
Expected : receive hsts and redirect to https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=wnpp;dist=unstable
Result: Error Page
Annotiation:
- website answers really slow
- we receive an
NS_ERROR_NOT_IMPLEMENTED
| Reporter | ||
Comment 4•5 years ago
|
||
The response with an hsts header is send too slow. Which is in the page responsibility and leads to a timeout before we can examine the hsts header.
Currently, even an increase of the timeout timer to 5 seconds wouldn't prevent https-only from showing the https-only error page. But a 10 second timeout timer would (but is unreasonable).
Comment 5•4 years ago
|
||
As discussed, increasing the timeout is not really an option at this point since we have empirically evaluated the 3000ms sweet spot. An individual end user however could increase that timeout by updating the pref dom.security.https_only_fire_http_request_background_timer_ms.
I'll mark this bus as WONTFIX.
Description
•