-
Bug
-
Resolution: Done
-
Major
-
2.2.22.Final
-
None
Since 2.2.22.Final, request parameters are not properly propagated in jsp:include pages.
Reproducible with several nested jsp:include pages:
main.jsp
<jsp:include page="included.jsp?url_param1"> <jsp:param name="jsp_param1" value="0" /> </jsp:include>
included.jsp
<jsp:include page="included_included.jsp?url_param2"> <jsp:param name="jsp_param2" value="0" /> </jsp:include>
included_included.jsp
<jsp:include page="included_included_included.jsp?url_param3"> <jsp:param name="jsp_param3" value="0" /> </jsp:include>
included_included_included.jsp
<% for (String p : java.util.Collections.list(request.getParameterNames())) { System.out.println(p); } %>
Accessing main.jsp with
main.jsp?mainParam
Expected request parameters in innermost jsp (included_included_included.jsp):
mainParam url_param1 jsp_param1 url_param2 jsp_param2 url_param3 jsp_param3
Actual parameters:
mainParam url_param3 jsp_param3
- clones
-
JBEAP-25220 (8.0.z) UNDERTOW-2285 - Request parameters lost via jsp:include chain
- Closed
- is cloned by
-
JBEAP-25037 (7.4.z) UNDERTOW-2285 - Request parameters lost via jsp:include chain
- Closed
- is duplicated by
-
UNDERTOW-2269 Encode Query string on forward/include and properly handle merging
- Pull Request Sent
- is incorporated by
-
WFCORE-6468 Upgrade Undertow to 2.3.8.Final
- Resolved