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

                 Key: WICKET-40
                 URL: http://issues.apache.org/jira/browse/WICKET-40
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.2.3
            Reporter: Jan Bareš


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to