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

CORS middleware should compile allowOrigin regexp at creation #2709

Merged
merged 1 commit into from
Nov 22, 2024

Conversation

aldas
Copy link
Contributor

@aldas aldas commented Nov 21, 2024

This change preserves previous behavior - invalid patterns are just ignored.

we can not add panics as this would cause runtime unrecovered panics (i.e. some people very angry as their applications crash at prod)

Reported by #2708

@aldas aldas merged commit 118c163 into labstack:master Nov 22, 2024
14 checks passed
@aldas aldas deleted the fix_2708 branch November 22, 2024 19:54
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.

1 participant