Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-18015

Request Parameters are lost after forward

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 30.0.0.Final
    • 28.0.0.Final
    • Web (Undertow)
    • None
    • Hide

      Deploy FWTest.war and open http://localhost:8080/FWTest/fwd.jsp?init=true

      Compare the results in WFLY 28 and WFLY 27, inspect the output of the JSP and the server system out log.

      Show
      Deploy FWTest.war and open http://localhost:8080/FWTest/fwd.jsp?init=true Compare the results in WFLY 28 and WFLY 27, inspect the output of the JSP and the server system out log.
    • ---
    • ---

      Since WFLY Version 28.0.0, request parameters are lost, if they are set between multiple forwards. But they should be aggregated.

      For example

      jsp1?init=true (forward to) jsp2?param1=lost (forward to) jsp3?param2=here

      Results in the following parameters:
      init=true, param2=here 

      But should be
      init=true, param1=lost, param2=here

       

      The forward is done with 
      request.getRequestDispatcher("...").forward(request, response)

            rhn-cservice-bbaranow Bartosz Baranowski
            uqpik Joachim Piketz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: