-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
router: fix query parameter present_match support #38000
Conversation
Signed-off-by: Rohit Agrawal <[email protected]>
ede56ce
to
6014488
Compare
@alyssawilk Could you please help review this small PR to fix query params |
Signed-off-by: Rohit Agrawal <[email protected]>
…resence Signed-off-by: Rohit Agrawal <[email protected]>
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.
LGTM. @ggreenway given I'm still under the weather can you sanity check this LGTY?
@alyssawilk Is it okay to merge this? |
yeah sorry wanted a second maintainer look and looks like @wbpcode looked |
## Description The query parameter matcher implementation did not properly implement `present_match` functionality. While the matcher code exists, it isn't properly initializing the matcher, causing `present_match` checks to always fail. This PR adds the missing functionality and also adds the test coverage to verify both `present_match: true` and `present_match: false` behaviors work as expected. **Fixes:** envoyproxy#37951 --- **Commit Message:** router: fix query parameter present_match support **Additional Description:** Adds the missing support for `present_match` while matching query parameters. **Risk Level:** Low **Testing:** Added Unit Tests **Docs Changes:** N/A **Release Notes:** Added --------- Signed-off-by: Rohit Agrawal <[email protected]>
Description
The query parameter matcher implementation did not properly implement
present_match
functionality. While the matcher code exists, it isn't properly initializing the matcher, causingpresent_match
checks to always fail.This PR adds the missing functionality and also adds the test coverage to verify both
present_match: true
andpresent_match: false
behaviors work as expected.Fixes: #37951
Commit Message: router: fix query parameter present_match support
Additional Description: Adds the missing support for
present_match
while matching query parameters.Risk Level: Low
Testing: Added Unit Tests
Docs Changes: N/A
Release Notes: Added