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 2009/04/13 10:39:15 UTC
[jira] Resolved: (WICKET-2148) AttributeModifier doesn't escape
markup in model strings
[ https://issues.apache.org/jira/browse/WICKET-2148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Juergen Donnerstag resolved WICKET-2148.
----------------------------------------
Resolution: Invalid
Fix Version/s: 1.4-RC3
Assignee: Juergen Donnerstag
please use Strings.escapeMarkup where needed
> AttributeModifier doesn't escape markup in model strings
> --------------------------------------------------------
>
> Key: WICKET-2148
> URL: https://issues.apache.org/jira/browse/WICKET-2148
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.5
> Reporter: Jeroen Idserda
> Assignee: Juergen Donnerstag
> Priority: Minor
> Fix For: 1.4-RC3
>
>
> The AttributeModifier does not escape characters like & in model strings.
> Example code:
> item.add(new AttributeModifier("title", true, new Model(inschrijving.getOmschrijving(null))));
> This will result in <element title="some text & some more text " />
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.