Description
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&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.