matcher: add PathMatcher and use in routing, jwt and rbac#10010
matcher: add PathMatcher and use in routing, jwt and rbac#10010lizan merged 2 commits intoenvoyproxy:masterfrom
Conversation
|
This needs to be back-ported to 1.2 and 1.3 but it seems I cannot add the backport/review label according to https://github.com/envoyproxy/envoy/blob/master/RELEASES.md#backports. @lizan @PiotrSikora , could you also review and approve for the backport, thank you. |
|
/backport |
Signed-off-by: Yangmin Zhu <ymzhu@google.com>
719a31b to
200f0cc
Compare
|
@lizan @mattklein123 Could you take a look at this one? The only change compared to the other approved PR in the private repo is the last commit that I pushed to fix the integration test. It seems the path normalization is doing something strange here by changing the path from |
mattklein123
left a comment
There was a problem hiding this comment.
Thanks, great work! @PiotrSikora @lizan any further comments?
PiotrSikora
left a comment
There was a problem hiding this comment.
Thanks! One small comment.
|
@yangminzhu could you send PRs with cherry-picks against the stable branches? Thanks! |
|
@PiotrSikora Yes, I'm doing it now. |
…#10010) Description: Add a new PathMatcher that strips the query and/or fragment string from the ":path" header before matching, use it in route, JWT and RBAC. Risk Level: Low Testing: Added unit tests and integration tests Docs Changes: Updated types.rst for PathMatcher Release Notes: Updated version_history.rst for RBAC API change Signed-off-by: Yangmin Zhu <ymzhu@google.com>
Cherrypick envoyproxy#10010 Signed-off-by: Yangmin Zhu <ymzhu@google.com>
…10037) Description: Add a new PathMatcher that strips the query and/or fragment string from the ":path" header before matching, use it in route, JWT and RBAC. Risk Level: Low Testing: Added unit tests and integration tests Docs Changes: Updated types.rst for PathMatcher Release Notes: Updated version_history.rst for RBAC API change Signed-off-by: Yangmin Zhu <ymzhu@google.com>
…rbac (#10010) (#10038) Description: Add a new PathMatcher that strips the query and/or fragment string from the ":path" header before matching, use it in route, JWT and RBAC. Risk Level: Low Testing: Added unit tests and integration tests Docs Changes: Updated types.rst for PathMatcher Release Notes: Updated version_history.rst for RBAC API change Signed-off-by: Yangmin Zhu <ymzhu@google.com>
Signed-off-by: Yangmin Zhu ymzhu@google.com
For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md
Description: Add a new PathMatcher that strips the query and/or fragment string from the ":path" header before matching, use it in route, JWT and RBAC.
Risk Level: Low
Testing: Added unit tests and integration tests
Docs Changes: Updated types.rst for PathMatcher
Release Notes: Updated version_history.rst for RBAC API change
[Optional Fixes #Issue]
[Optional Deprecated:]