-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
validate server path param for login redirect
- Loading branch information
1 parent
64c21f9
commit bd73f2e
Showing
1 changed file
with
1 addition
and
1 deletion.
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
bd73f2e
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.
Hello @floribe2000, heads-up that this change does not fix the open redirect that SonarCloud told you:
^eu|asia|com$
translates to:eu
?asia
?com
?The actual regex you want is
^(eu|asia|com)$
instead, if you want to restrict the full string to these three words.