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

fix(cloud-function): remove deprecated X-XSS-Protection header #9240

Merged
merged 1 commit into from
Jul 17, 2023

Conversation

Dani21
Copy link
Contributor

@Dani21 Dani21 commented Jul 5, 2023

Summary

Fixes #9239.

Problem

The X-XSS-Protection response header is no longer recommended for use in production websites but is in use by yari.

Solution

Removing the header removes non-standard code.

@caugner caugner changed the title Remove X-XSS-Protection header fix(cloud-function): remove X-XSS-Protection header Jul 17, 2023
Copy link
Contributor

@caugner caugner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thanks! (We had actually removed that header from other infrastructure parts of MDN recently, but missed this one apparently.)

@caugner caugner merged commit 4a02f2e into mdn:main Jul 17, 2023
@caugner caugner changed the title fix(cloud-function): remove X-XSS-Protection header fix(cloud-function): remove deprecated X-XSS-Protection header Jul 17, 2023
@Dani21 Dani21 deleted the patch-1 branch July 17, 2023 14:01
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.

X-XSS-Protection response header usage
2 participants