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

Set Cross-Origin-Opener-Policy: same-origin on all pages #5442

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

alikabeel-spooner
Copy link

Hello Team,

This PR fixes HackerOne Report 2681420. In the previous fix #4910, @segiddins add the header to all standard pages (not errors). However, the fix did not cover the cases of non-existing paths (errors). This PR fixes the issue by ensuring all pages, even errors, have the header correctly set. I tested this locally, and it should work fine on all paths. Can you kindly review and merge this PR and then close the H1 report so that I can claim the bounty?

Best,
Ali

@alikabeel-spooner
Copy link
Author

cc @segiddins @duckinator since you are working on the report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

1 participant