Skip to content

CORS middleware should compile allowOrigin regexp at creation#2709

Merged
aldas merged 1 commit intolabstack:masterfrom
aldas:fix_2708
Nov 22, 2024
Merged

CORS middleware should compile allowOrigin regexp at creation#2709
aldas merged 1 commit intolabstack:masterfrom
aldas:fix_2708

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

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