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

Parameters of nice URL's pages with 'sensitive' characters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.2.3
    • 1.3.0-beta2
    • wicket
    • None

    Description

      Wicket uses HttpServletRequest.getPathInfo() to get the the URL. The returned string is already URL decoded, so when the request parameter pair contains %2F, it will be returned as '/', so the request pair will be broken (the same applies to other characters like '+' etc). This was cseen with Jetty 6 and Tomcat 5.5.
      Wicket should use HttpServletRequest.getRequestURI() or getRequestURL() as this seems to return URL as it was passed to the server.

      Attachments

        Activity

          People

            jbq Jean-Baptiste Quenot
            jan_bar Jan Bareš
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: