[ 
http://www.stripesframework.org/jira/browse/STS-251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ben Gunter resolved STS-251.
----------------------------

    Resolution: Fixed

Fixed in a less restrictive way. If the label attribute is used to generate the 
option's body then its value is HTML-encoded. But if the tag body is used its 
value is not HTML-encoded. Instead, the value must be encoded some other way, 
such as <c:out escapeXml="true" value="${value}" />. (But if you're going to do 
that, then you might as well just use label="${value}".) I added a paragraph to 
the TLD to document this behavior.

> Stripes does not HTML encode option labels generated with 
> options-collection/options-enumeration
> ------------------------------------------------------------------------------------------------
>
>                 Key: STS-251
>                 URL: http://www.stripesframework.org/jira/browse/STS-251
>             Project: Stripes
>          Issue Type: Bug
>          Components: Tag Library
>    Affects Versions: Release 1.4, Release 1.5
>            Reporter: Tim Fennell
>            Assignee: Ben Gunter
>             Fix For: Release 1.5.1, Release 1.6
>
>
> Do stripes:* tags encode html entities? I encounter some un-encoded labels 
> with stripes:options-collection (specifically, bare "&" that didn't translate 
> to "&amp;" between the rendered <option...>...</option> tags). This may also 
> apply to other tags...
> Preferred change to Stripes: ensure that everything rendered by any Stripes 
> tag (other than stripes:url) is html-encoded correctly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to