Strip matrix parameters from request paths during HTTP security polic…#53930
Strip matrix parameters from request paths during HTTP security polic…#53930geoand merged 1 commit intoquarkusio:mainfrom
Conversation
…y matching Matrix parameters (semicolon-delimited values in URL path segments, e.g. /api;v=1/resource) could bypass HTTP security policy path matching. This commit strips matrix parameters before matching across all security-relevant paths: HTTP policy matcher, Keycloak policy enforcer, OIDC tenant resolver, CSRF filter, and Undertow servlet policy. Additionally, the build now fails if an HTTP security policy path contains a literal semicolon character.
|
Thanks for your pull request! Your pull request does not follow our editorial rules. Could you have a look?
This message is automatically generated by a bot. |
Status for workflow
|
|
🙈 The PR is closed and the preview is expired. |
Status for workflow
|
…y matching
Matrix parameters (semicolon-delimited values in URL path segments, e.g. /api;v=1/resource) could bypass HTTP security policy path matching. This commit strips matrix parameters before matching across all security-relevant paths: HTTP policy matcher, Keycloak policy enforcer, OIDC tenant resolver, CSRF filter, and Undertow servlet policy.
Additionally, the build now fails if an HTTP security policy path contains a literal semicolon character.