-
Bug
-
Resolution: Obsolete
-
Critical
-
None
-
1.0.15.Final
-
None
-
- setup reverse proxy
- try proxy a URL with a ~ in one of the path components: such as "/test/test~test/test/test"
We are using Wildly 8.1.1 with Undertow 1.0.15.FInal. We have configured a reverse proxy in the undertow subsystem in the standalone file.
When URLs with tilde (~) in the path is encountered, the URL is not encoded correctly.
Input:
"/test/test~test/test/test"
Is encoded to
"/test/test%7Etes/tes/test"
The method "encodeUrlPart" in ProxyHandler seems to be the culprit (and the method "realEncode" as well). We have reproduced the issue with 1.0.15.Final. The same code can be found on the master branch in the file RedirectBuilder, but we are not able to test on a newer server with a newer undertow.