encoding of AttributeModifier's model left unescaped
----------------------------------------------------

                 Key: WICKET-517
                 URL: https://issues.apache.org/jira/browse/WICKET-517
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.2.6, 1.3
            Reporter: Ludovic Orban
            Priority: Minor


If you do something looking like this:

String url = "http://www.somewhere.com?param1=a&param2=b";;
component.add(new AttributeModifier("href", true, new Model(url)));

After rendering the component will look like this:

<LINK href="http://www.somewhere.com?param1=a&param2=b"/>

My template is not in HTML but XML and this is obviously not valid XML (the '&' 
should be escaped).

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