Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
6.7.0
-
None
-
None
-
None
Description
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.
Attachments
Attachments
Issue Links
- duplicates
-
WICKET-5202 Page redirects can fail when using url encoding
- Resolved