You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Juergen Donnerstag (JIRA)" <ji...@apache.org> on 2007/05/12 19:13:15 UTC
[jira] Closed: (WICKET-517) encoding of AttributeModifier's model
left unescaped
[ https://issues.apache.org/jira/browse/WICKET-517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Juergen Donnerstag closed WICKET-517.
-------------------------------------
Resolution: Won't Fix
Fix Version/s: 1.3
Assignee: Juergen Donnerstag
Please use WebRequestEncoder to properly encode your handcrafted url.
> 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
> Assigned To: Juergen Donnerstag
> Priority: Minor
> Fix For: 1.3
>
>
> If you do something looking like this:
> String url = "http://www.somewhere.com?param1=a¶m2=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¶m2=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.