You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Matej Knopp (JIRA)" <ji...@apache.org> on 2007/10/14 23:48:50 UTC
[jira] Assigned: (WICKET-1047) Amersand escaped twice for
ResourceLink href
[ https://issues.apache.org/jira/browse/WICKET-1047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matej Knopp reassigned WICKET-1047:
-----------------------------------
Assignee: Matej Knopp
> Amersand escaped twice for ResourceLink href
> --------------------------------------------
>
> Key: WICKET-1047
> URL: https://issues.apache.org/jira/browse/WICKET-1047
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.0-beta2, 1.3.0-beta3
> Reporter: Nathan Hamblen
> Assignee: Matej Knopp
>
> When passing a ValueMap with multiple parameters to ResourceLink, the ampersand for the second and any higher parameters is escaped twice. For example:
> ResourceLink("link", new ResourceReference("largePressImage"), new ValueMap("id=20,idx=0"))
> yields an href of
> ../../resources/org.apache.wicket.Application/largePressImage?idx=0&amp;id=20
> (this will not decode)
> Internally, ResourceLink calls getRequestCycle().urlFor(resourceReference, resourceParameters) at line 126 which gives an escaped URL. Then its Link superclass escapes the ampersand a second time at line 423.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.