Skip to content

Fix - CORS allowing undesired origins #45

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

Merged

Conversation

dsavina
Copy link
Contributor

@dsavina dsavina commented Jul 12, 2022

Regex mode allowed undesired domains to perform cross-origin requests, by simply satisfying the regex corresponding to the authorized origin.
For instance, if the authorized origin (i.e. the web app) was https://my.website.com, cross-origin requests could be sent from https://my.website.com.mischievo.us, or even https://myawebsite.com.

@dsavina
Copy link
Contributor Author

dsavina commented Sep 12, 2022

Up @mistraloz, any change required here, or can it be merged?

@mistraloz mistraloz merged commit 088a4dd into thecodingmachine:master Sep 12, 2022
@mistraloz
Copy link
Contributor

Sorry, I forgot

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.

2 participants