[ https://issues.apache.org/jira/browse/WICKET-5193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrea Del Bene updated WICKET-5193: ------------------------------------ Attachment: WICKET-5193.patch > UrlRenderer appends './' also to URLs that start with '/' > --------------------------------------------------------- > > Key: WICKET-5193 > URL: https://issues.apache.org/jira/browse/WICKET-5193 > Project: Wicket > Issue Type: Bug > Affects Versions: 6.7.0 > Reporter: Andrea Del Bene > Priority: Minor > Attachments: WICKET-5193.patch > > > URL are not correctly rendered when we move from a stateless navigation (no > permanent session bound) to a stateful page. To reproduce the problem do the > following steps: > 1. start wicket-examples module and be sure to not have any cached data or > cookies of this application on your browser. > 2. navigate to wicket-examples application and go to ajax examples page > 3. navigate to one of the example, for example 'Auto-Complete TextField > Example'. At this point a persistent session is created and the jsessionid > attribute is visible in the URL bar > 4. now if you try to click on [go back] you will get an arror as its anchor > is not valid > The problem is inside UrlREnderer. We should add an additional test in the if > after comment 'sanitize start' to check that URL doesn't start with '/' > See attached patch. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira