-
Notifications
You must be signed in to change notification settings - Fork 557
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Properly terminate origin regex with $ (#2576)
Fixes an oversight in the regex generation for `allowedOrigins` that allows a bypass of the functionality due to the regex not being properly terminated. Also fixes a mistake in the regex generation that wouldn't properly add `.*` to the regex but instead use somewhat escaped characters.
- Loading branch information
1 parent
c7f73bd
commit 0a265dc
Showing
2 changed files
with
9 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters