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

when using jsp:include the jsp:param being encoded at the included jsp

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 9.0.0.Alpha1
    • 8.1.0.CR2
    • Web (Undertow)
    • None

    Description

      I have JSP A that includes JSP B like this:
      <jsp:include page="../anotherFolder/B.jsp">
      <jsp:param name="pathToRootContext" value='../' />
      </jsp:include>

      In JSP B i have the following:
      String pathToRootContext = request.getParameter("pathToRootContext");

      The value i get in the pathToRootContext is "..%2f"

      I tried the following but it didn't help:
      <servlet-container name="default" default-encoding="UTF-8">
      <jsp-config development="true" java-encoding="UTF-8"/>
      </servlet-container>

      Attachments

        Activity

          People

            sdouglas1@redhat.com Stuart Douglas
            roim_jira roy mizrachi (Inactive)
            Votes:
            4 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: