News for hackers. Stuff that matters.
Re:Improving Firefox stability with this one weird trick by Karunamon on Tuesday November 22, 2022 @11:56AM (#33707881)
Chrome will do the same thing and so will any other browser that honors the HSTS standard in RFC 6797. You probably want to direct your ire at the owner of the website, setting the HSTS header is a positive affirmation by the server that it does not accept insecure connections.

Special attention should be paid to section 12.1 of that RFC:

>If a web application issues an HSTS Policy, then it is implicitly opting into the "no user recourse" approach, whereby all certificate errors or warnings cause a connection termination, with no chance to "fool" users into making the wrong decision and compromising themselves.

Re:Improving Firefox stability with this one weird trick by Digit-Al on Tuesday November 22, 2022 @01:56PM (#33709553)
This reminds me of Microsoft having a strong incentive to make sure hardware manufacturers write their drivers correctly, because if a bad driver causes problems the average user will blame Microsoft, as they don't know that MS don't write the drivers.

In this situation Firefox are being blamed for correctly implementing the standard and preventing access to the site, when the blame should fall on the site owner for not setting the security up correctly.

Re:Improving Firefox stability with this one weird trick by BenjiWiebe on Tuesday November 22, 2022 @02:00PM (#33709631)
Firefox should add to the warning something like this: "The site owner has specified that this error shall not be ignored."
Re:Improving Firefox stability with this one weird trick by account42 on Wednesday November 23, 2022 @03:48AM (#33716685)
The html spec also defines that audio can be set to autoplay and the JS spec allows websites to freely open popups. Yet browsers are able to ignore that in the interest of the user - because they are (supposed to be) user agents not website agents that have to blindly follow what the website says. Browsers are free to not implement user-hostile specs or only implement parts of them and they commonly chose to do so.

Ultimately, protocol specs have no purview over user interaction and can at best recommend the expected behavior. There is nothing wrong with the browser telling the user that this website is expected to be accessed trough TLS with a valid certificate and isn't and to redirect HTTP requests to HTTPS but the spec is no excuse for the browser not letting the user overwrite that policy.

So no, the ire should be directed at the browser because the broser is there to make sure my interest as the user are followed not those of some website owner (or someone making decisions for them like Google for *.dev).

Re:Improving Firefox stability with this one weird trick by Karunamon on Thursday November 24, 2022 @08:23AM (#33731024)
Neither the HTML spec or the JavaScript spec require that audio be auto played or that pop-ups be opened without restriction. HSTS is different in this respect.

I'm sure if you want to hack your browser so that it ignores that header you can, but the idea is that any server sending that header is telling you to go away if the certificate is invalid.