[richfaces-issues] [JBoss JIRA] Updated: (RF-7992) Dynamic Skin css resources escape special html characters.

Jay Balunas (JIRA) jira-events at lists.jboss.org
Mon Nov 16 14:03:29 EST 2009


     [ https://jira.jboss.org/jira/browse/RF-7992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jay Balunas updated RF-7992:
----------------------------

    Component/s: portal


> Dynamic Skin css resources escape special html characters.
> ----------------------------------------------------------
>
>                 Key: RF-7992
>                 URL: https://jira.jboss.org/jira/browse/RF-7992
>             Project: RichFaces
>          Issue Type: Bug
>          Components: portal, skinning
>    Affects Versions: 3.3.2.GA
>            Reporter: Alexander Smirnov
>             Fix For: 3.3.3.CR1
>
>
> In the dynamic CSS files ( .xcss ) <u:style> element uses ResponseWriter#writeText method that escapes special html characters like < > and & as XML entities.
> In the portal environment resource URL can contain parameters, so part of xcss file like this:
> 		<u:style name="background-image">
> 			<f:resource f:key="org.richfaces.renderkit.html.iconimages.CalendarSeparator" />
> 		</u:style>
> would be rendered incorrectly:
> background-image:url(/portal/auth/portal/default/SeamDemo/SeamPortletWindow?rfRes=org.richfaces.renderkit.html.images.ButtonBackgroundImage&amp;action=b&amp;cacheability=PAGE&amp;DATA=%2FB%2FeAFjYGDg%21v%219049r- , there all parameter delimiters '&' are replaced by '&amp;' entity.
> Therefore , most portals does not recognise these URL, and skin images are not loaded.

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

        


More information about the richfaces-issues mailing list