Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove X-XSS Protection from request header #1578

Merged
merged 3 commits into from
Jan 17, 2025

Conversation

petechd
Copy link
Contributor

@petechd petechd commented Jan 14, 2025

What is the context of this PR?

We want to remove the X-XSS-Protection since all the modern browsers dropped support and it's deprecated now.
We do have script-src directive in CSP that makes the unsafe-inline redundant and replaces reflected-xss directive and XSS protection algorithm.

How to review

One test was refactored to reflect the current state of the request headers.

Checklist

  • New static content marked up for translation
  • Newly defined schema content included in eq-translations repo

@petechd petechd marked this pull request as ready for review January 15, 2025 08:24
@petechd petechd requested a review from a team as a code owner January 15, 2025 08:24
@petechd petechd merged commit 76f3c9d into main Jan 17, 2025
19 checks passed
@petechd petechd deleted the remove-deprecated-xss-protection branch January 17, 2025 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants