Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-1804

ServeltWebRequest now improperly decodes urls with parms

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.3.4
    • 1.4.0
    • wicket
    • None
    • Tomcat 5.5.17

    Description

      I see that WICKET-1624 and WICKET-1627 have done some work in this area, but it seems that they have also introduced a problem relating to the decoding of the path.

      I moved to 1.3-SNAPSHOT (revision 688703). I see that it is the WicketURLDecoder that is causing the problem. It is prematurely decoding my *parameter*

      Here is the URL(servletPath): /jspfs/legacyUrl/peerReview%2Fpr_start.jsp
      where
      jspfs is the Wicket mount
      legacyUrl is the parm name
      peerReview%2Fpr_start.jsp is the parm VALUE, it needs to stay encoded!

      instead, it becomes /jspfs/legacyUrl/peerReview/pr_start.jsp which fails to match the serveltPath on line 184 of ServletWebRequest.

      See this http://www.nabble.com/session-%22jumping%22--tp18999615p19002132.html for the original discussion.

      Attachments

        Activity

          People

            ivaynberg Igor Vaynberg
            cdeal Chuck Deal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: