[ 
https://issues.apache.org/jira/browse/WICKET-2777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Russell Morrisey updated WICKET-2777:
-------------------------------------

    Comment: was deleted

(was: I am still seeing this issue in 1.4.9. The following code in 
BookmarkablePageRequestTarget is suspect:

// Add bookmarkable params in for WICKET-400.
final Map<String, String[]> requestMap = 
requestCycle.getRequest().getParameterMap();
requestMap.putAll(pageParameters.toRequestParameters());
return pageFactory.newPage(pageClass, pageParameters);

I am thinking that it should be:
return pageFactory.newPage(pageClass, requestMap); //use the new map we just 
constructed)

> HybridUrlCodingStrategy incorrectly decodes url parameters on redirect
> ----------------------------------------------------------------------
>
>                 Key: WICKET-2777
>                 URL: https://issues.apache.org/jira/browse/WICKET-2777
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.4.6, 1.4.7
>            Reporter: Pointbreak
>
> When using HybridUrlCodingStrategy and encoded parameters the following 
> happens:
> - In some cases HybridUrlCodingStrategy does a page-redirect to get an 
> explicit version nr (i.e. http://localhost/page gets redirected to 
> http://localhost/page.5).
> - However the redirect URL is not the same before the version nr as the 
> original URL, part of the URL path gets urldecoded, resulting in 
> page-parameters that are different from the ones in the original link.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to