Set Referrer-Policy to no-referrer #6
Loading…
Reference in a new issue
No description provided.
Delete branch "blankie/breezewiki:referrer-policy"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fandom sends a fake 404 to media if there's a Referer header that has an origin that's not Fandom. However, we can choose not to send the header by setting Referrer-Policy. See also: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy
Thanks! Your commit didn't correct the original problem because referrer-policy needed to also be applied to page-proxy. This is because the stylesheet is considered to be the initiator for some requests such as the page background image when strict_proxy is true. When I also added the header to the proxied stylesheet, it corrected the original problem.
Thanks for introducing me to referrer-policy, I tried to find something like this before but evidently I missed it. Feel free to further extend
always-headers
with helpful security headers if you come across any more.Thanks to
5813c492
everything I mentioned here should be good now. Pushing to breezewiki.com shortly.