2 ms·
I don't think that "the site does not work while somebody is phishing my connection" is a valid complaint. One should indeed protect against malicious HTTP pag
by marcosdumay 10y ago
I don't think that "the site does not work while somebody is phishing my connection" is a valid complaint.
One should indeed protect against malicious HTTP pages, HSTS is a good thing, browser warnings on HTTP is an even better thing. But there is no reason to put any effort on avoiding a 403 error on those cases.
- anderskaseorg 10y agoYou misunderstand the problem. Referer is checked to prevent forged POST requests from HTTP to HTTPS, not to avoid a 403 error.
- marcosdumay 10y agoMy point is that you should never POST from HTTP to HTTPS. So anytime that this happens, Django developers are more than justified on issuing any error they want and marking them wontfix as they wish.