-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed validation for VSR exact & regex subroutes (#4744)
* Fixed validation for VSR exact & regex subroutes Since a VSR may only contain a single subroute when using exact or regex matching skipping route validation here is incorrect. Correctly configured VSRs for regex or exact will be validated (and terminate) earlier in function, ie. where VS path is regex + only 1 subroute + subroute syntax check passes. * Added Unit Tests * Fix validation Signed-off-by: Haywood Shannon <5781935+haywoodsh@users.noreply.github.com> * Add unit tests and update docs Signed-off-by: Haywood Shannon <5781935+haywoodsh@users.noreply.github.com> * Adjusted Unit test messages. --------- Signed-off-by: Haywood Shannon <5781935+haywoodsh@users.noreply.github.com> Co-authored-by: Haywood Shannon <5781935+haywoodsh@users.noreply.github.com> Co-authored-by: Venktesh Shivam Patel <ve.patel@f5.com>
- Loading branch information
1 parent
fb60fb6
commit 3787bb8
Showing
3 changed files
with
204 additions
and
15 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