You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-12-01 22:41:53 +02:00
Merge #2338
2338: Update X-XSS-Protection to current recommendation r=mergify[bot] a=AvverbioPronome See: - https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection and - https://cheatsheetseries.owasp.org/cheatsheets/HTTP_Headers_Cheat_Sheet.html#x-xss-protection ## What type of PR? Slight enhancement ## What does this PR do? This PR turns off the XSS auditor in the few browsers that still have one. ## Prerequisites Before we can consider review and merge, please make sure the following list is done and checked. If an entry in not applicable, you can check it or remove it from the list. - [ ?] In case of feature or enhancement: documentation updated accordingly - [x ] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/workflow.html#changelog) entry file. Co-authored-by: Giuseppe C <1191978+AvverbioPronome@users.noreply.github.com> Co-authored-by: Your Name <you@example.com>
This commit is contained in:
@@ -117,7 +117,6 @@ http {
|
||||
add_header X-Frame-Options 'SAMEORIGIN';
|
||||
add_header X-Content-Type-Options 'nosniff';
|
||||
add_header X-Permitted-Cross-Domain-Policies 'none';
|
||||
add_header X-XSS-Protection '1; mode=block';
|
||||
add_header Referrer-Policy 'same-origin';
|
||||
|
||||
# mozilla autoconfiguration
|
||||
|
||||
1
towncrier/newsfragments/2338.misc
Normal file
1
towncrier/newsfragments/2338.misc
Normal file
@@ -0,0 +1 @@
|
||||
Don't send the `X-XSS-Protection` http header anymore.
|
||||
Reference in New Issue
Block a user