[ 
https://issues.apache.org/jira/browse/WICKET-2131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708239#action_12708239
 ] 

Matt Brictson commented on WICKET-2131:
---------------------------------------

This bug affects Wicket 1.4-rc4 as well. It did not affect 1.4-rc2. It was 
probably introduced in changeset 755201 
(http://fisheye6.atlassian.com/changelog/wicket?cs=755201).

Here is example output in Wicket 1.4-rc4. Note that the ampersand before 
wicket:ignoreIfNotActive is not property escaped to &:

<input type="submit" wicket:id="ajax-link" name="ajax-link" id="ajax_link2" 
onclick="var wcall=wicketSubmitFormById('form1', 
'?wicket:interface=:0:form:ajax-link::IActivePageBehaviorListener:0:&wicket:ignoreIfNotActive=true',
 'ajax-link' ,null,null, function() {return 
Wicket.$$(this)&amp;&amp;Wicket.$$('form1')}.bind(this));;; return false;"/>


> RequestCycle.urlFor does not escape & properly
> ----------------------------------------------
>
>                 Key: WICKET-2131
>                 URL: https://issues.apache.org/jira/browse/WICKET-2131
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.5
>            Reporter: Emond Papegaaij
>             Fix For: 1.3.7
>
>
> RequestCycle.urlFor(final Component, RequestListenerInterface, ValueMap) adds 
> an unescaped & to the url ("buff.append("&");"), it should include a &amp;.

-- 
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