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: [#1489] Include Access-Control, Origin headers for cross-origin requests #1492

Merged
merged 3 commits into from
Aug 30, 2024

Conversation

rexxars
Copy link
Contributor

@rexxars rexxars commented Jul 20, 2024

As described in #1489, cross-origin requests should always include the Origin header. Additionally, CORS preflight requests should include additional Access-Control-* headers - these were not included because of the header filtering in the Request class.

Fixes #1489

@rexxars rexxars changed the title fix: [#1489] Include Origin header for cross-origin requests fix: [#1489] Include Access-Control, Origin headers for cross-origin requests Jul 20, 2024
Copy link
Owner

@capricorn86 capricorn86 left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution @rexxars! 🌟

@capricorn86 capricorn86 merged commit 86748db into capricorn86:master Aug 30, 2024
3 checks passed
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.

CORS headers not included in requests
2 participants