-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Add MOTO_DISABLE_GLOBAL_CORS
for disabling wildcard CORS
#8409
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @kangasta! This makes sense - having a 'strict' mode where CORS is only enabled when configured can be useful, and this looks like the right approach.
Would you mind merging in the latest master? That should hopefully fix the build/linter.
5110e9f
to
8af0936
Compare
Thank you for the feedback 👍 I rebased this on top of master and added a testcase for the |
8af0936
to
6a2d51a
Compare
6a2d51a
to
608d212
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #8409 +/- ##
=======================================
Coverage 92.62% 92.62%
=======================================
Files 1225 1225
Lines 105708 105711 +3
=======================================
+ Hits 97916 97919 +3
Misses 7792 7792
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - thank you for adding this feature @kangasta!
No description provided.