-
Bug
-
Resolution: Unresolved
-
Neutral
-
None
-
6.2.36
-
None
Steps to reproduce
- Create a virtual URI mapping that forwards towards a REST endpoint:
class: info.magnolia.virtualuri.mapping.RegexpVirtualUriMapping fromUri: \/\.rest\/delivery\/test\/v1(.*)toUri: forward:/.rest/delivery/pages/v1$1
- Add parameters to an URL like this: http://localhost:8080/magnoliaAuthor/.rest/delivery/pages/v1/?@name=Page-A%7CPage-B
- Perform the same request, but through an URL that gets forwarded, in this case: http://localhost:8080/magnoliaAuthor/.rest/delivery/test/v1/?@name=Page-A%7CPage-B
Expected results
Both queries work without issues and the encoding is kept untouched.
Actual results
The encoding is not handled properly on the second request, making the REST request fail.
Acceptance criteria