-
Bug
-
Resolution: Done-Errata
-
Major
-
None
Fixes #35960
As commented in original issue https://github.com/quarkusio/quarkus/issues/34586 the initial problem was that path params are first decoded (`%2F` chars are decoded int `/`) and then splitted by `/`. That should be done in the reverse order to maintain the correct paths. This PR saves the path params in the context encoded instead of decoded. Then they are decoded when needed. For example in the `PathParamExtractor` they are decoded after being splitted as required for triggering issue. Added a little test for the new issue #35960. I think all the CI is passing in my branch.
I have changed the signature of public methods `getPathParam` and `getResourceLocatorPathParam`, adding the `encoded` parameter. If you want to maintain the previous variant just let me know. I can add them without issues.
@geoand FYI.
- links to
-
RHSA-2024:127566 Red Hat build of Quarkus 3.2.10 release and security update