stable

Clone or download

Read-only

request #17966: Force upgrade of insecure requests

Chrome is doing it by default since the v84 [0], Firefox has the intention of doing the same thing [1]. This contribution opt-in to the change by using the CSP `upgrade-insecure-requests` directive [2]. That should give a consistent experience across all the supported browsers. [0] https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html [1] https://groups.google.com/g/mozilla.dev.platform/c/F163Jz32oYY/m/Kdz_pjf2AQAJ?pli=1 [2] https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/upgrade-insecure-requests Change-Id: Iecdc7da12338f38f745cc1e9d8192b168e5ddbe0

Modified Files

Name
M src/www/include/pre.php +1 −0 Go to diff View file