forked from opensearch-project/security-dashboards-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update nextUrl validation to incorporate serverBasePath (opensearch-p…
…roject#2048) (opensearch-project#2049) * Fix the nextUrl validation test and test url path using regex Signed-off-by: Craig Perkins <cwperx@amazon.com> * Update nextUrl validation regex Signed-off-by: Craig Perkins <cwperx@amazon.com> * Add missing tests Signed-off-by: Craig Perkins <cwperx@amazon.com> * Combine url split to single line Signed-off-by: Craig Perkins <cwperx@amazon.com> * Update docstring Signed-off-by: Craig Perkins <cwperx@amazon.com> * Simplify condition Signed-off-by: Craig Perkins <cwperx@amazon.com> * Add origin on redirect Signed-off-by: Craig Perkins <cwperx@amazon.com> * Remove absolute url on redirect Signed-off-by: Craig Perkins <cwperx@amazon.com> * Update login-page tests Signed-off-by: Craig Perkins <cwperx@amazon.com> * Remove url.origin Signed-off-by: Craig Perkins <cwperx@amazon.com> * Account for server base path that can be numeric Signed-off-by: Craig Perkins <cwperx@amazon.com> * Update docstring Signed-off-by: Craig Perkins <cwperx@amazon.com> --------- Signed-off-by: Craig Perkins <cwperx@amazon.com> (cherry picked from commit a44e265) Co-authored-by: Craig Perkins <cwperx@amazon.com>
- Loading branch information
1 parent
6e89c3c
commit 53d418f
Showing
6 changed files
with
67 additions
and
27 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
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
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