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 origin validation in playground server for localhost #12599

Conversation

straight-shoota
Copy link
Member

This is a minimal fix for #12587 which enables Origin header compatibility between localhost and 127.0.0.1.

It's smaller than #12598 which also addresses further UX problems but opens up an opportunity for CSRF.

@straight-shoota straight-shoota added kind:bug topic:tools:playground kind:regression Something that used to correctly work but no longer works labels Oct 12, 2022
@straight-shoota straight-shoota added this to the 1.6.1 milestone Oct 13, 2022
@straight-shoota straight-shoota merged commit 0fac5d5 into crystal-lang:master Oct 14, 2022
@straight-shoota straight-shoota deleted the fix/crystal-play-origin-localhost branch October 14, 2022 17:53
lbguilherme pushed a commit to lbguilherme/crystal that referenced this pull request Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug kind:regression Something that used to correctly work but no longer works topic:tools:playground
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants