cloudflare-docs
cloudflare-docs copied to clipboard
X-XSS-Protection header being set when not recommended
Expected Behavior
X-XSS-Protection header is deprecated according to the OWASP site and should no longer be set to anything but 0
Actual Behavior
Example still lists the header being set to a non-zero value which is no longer recommended
Section that requires update
https://github.com/cloudflare/cloudflare-docs/blob/production/products/workers/src/content/examples/security-headers.md
Additional information
https://owasp.org/www-project-secure-headers/#x-xss-protection
Thanks @daservajesus! Updated the code in this PR.