Issue Details (XML | Word | Printable)

Key: WICKET-40
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Jean-Baptiste Quenot
Reporter: Jan Bareš
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Wicket

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

Created: 10/Nov/06 09:46 AM   Updated: 10/Jun/07 04:20 PM
Return to search
Component/s: wicket
Affects Version/s: 1.2.3
Fix Version/s: 1.3.0-beta2

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works 20070427-WICKET-40-WicketFilter-no-decoding.txt 2007-04-27 07:57 AM Jean-Baptiste Quenot 4 kB

Resolution Date: 06/May/07 08:01 PM


 Description  « Hide
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.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.