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

Sven Meier commented on WICKET-4505:
------------------------------------

Thanks Andrea, I can confirm the problem with the new quickstart.

It seems the fix for WICKET-3608 broke this one, see commit 
e9389ebdaf5b1eeb79a5ed3624eeaa529d322cf0 .

The following line in TagAttributes doesn't make sense to me:

        public final Object putInternal(String key, Object value)
        {
                return super.put(key, unescapeHtml(value));
        }

How can TagAttributes know where the value is coming from and whether is needs 
to be unescaped?
                
> AbstractTextComponent not escaping html data by default therefore user text 
> is not redisplayed correctly
> --------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-4505
>                 URL: https://issues.apache.org/jira/browse/WICKET-4505
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.5
>            Reporter: Jean-Philippe Boudreault
>         Attachments: EscapeHtmlChars.zip, screenshot-1.jpg
>
>
> User input is not escaped in all text fields by default (and the default is 
> not configurable).
> This leads to user entered text not being redisplayed correctly.
> * You can replicate using the project from WICKET-3330.
> * Just enter the text my½companyname and press enter
> * The field will not redisplay the text entered properly

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to