Skip to content

Commit

Permalink
remove X-XSS-Protection (#1151)
Browse files Browse the repository at this point in the history
why is this line not removed, when it is dangerous and obsolete?

According to https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection, we should remove it.
  • Loading branch information
jameskimmel authored Oct 7, 2024
1 parent 0528023 commit 41089bf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docs/general/networking/nginx.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ server {
# Security / XSS Mitigation Headers
# NOTE: X-Frame-Options may cause issues with the webOS app
add_header X-Frame-Options "SAMEORIGIN";
add_header X-XSS-Protection "0"; # Do NOT enable. This is obsolete/dangerous
add_header X-Content-Type-Options "nosniff";
# Permissions policy. May cause issues with some clients
Expand Down

0 comments on commit 41089bf

Please sign in to comment.