You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2011/04/13 15:57:05 UTC

[jira] [Commented] (WICKET-3608) input button escapes escaped value

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

Martin Grigorov commented on WICKET-3608:
-----------------------------------------

>From IRC:
(03:52:21 PM) martin-g: the problem is that the user cannot provide: <input value=" aaa < bb" .../>
(03:52:51 PM) martin-g: ComponentTag will encode it properly but the problem is that XmlPullParser will fail to parse it
(03:53:06 PM) pedrosans: hum, I missed that
(03:53:56 PM) martin-g: if the attribute value comes from the code then it works out of the box - wicket encodes it for you
(03:54:12 PM) martin-g: but if you try to set it in the html then the parser chokes

> input button escapes escaped value
> ----------------------------------
>
>                 Key: WICKET-3608
>                 URL: https://issues.apache.org/jira/browse/WICKET-3608
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-core
>    Affects Versions: 1.5-RC3
>            Reporter: Sven Meier
>             Fix For: 1.5-RC4
>
>         Attachments: WICKET-3608-test.patch, double_escaped_test.diff, wicket-3608.patch
>
>
> An input button with a value attribute containing escaped characters (&gt;) is double escaped when rendered. Worked in 1.4.x.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira