-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
2.0.15.Final
-
None
When redirecting to absolute url having un-encoded parameter values, HttpServletResponse sendRedirect is creating a wrong URL. Attached war file has sample to reproduce this problem.
1. Deploy the Redirect.war file
2. Open the url http://localhost:8080/Redirect/index.jsp
3. In the form input, enter some text with space in between characters, such as, abc def
4. The redirected URL is incorrect as shown below
http://localhost:8080/Redirect/http:/localhost:8080/Redirect/newpage.jsp?inputData=abc def
The undertow configuration has the following http-listener attributes:
<http-listener name="default" socket-binding="http" redirect-socket="https" enable-http2="true" max-parameters="10000" url-charset="UTF-8" allow-unescaped-characters-in-url="true"/>