myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kentaro Kinebuchi (Updated) (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Updated] (TRINIDAD-2147) ColorConverter.getClientScript() does not encode Transparent string value
Date Wed, 12 Oct 2011 06:27:11 GMT

     [ https://issues.apache.org/jira/browse/TRINIDAD-2147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kentaro Kinebuchi updated TRINIDAD-2147:
----------------------------------------

    Status: Patch Available  (was: Open)
    
> ColorConverter.getClientScript() does not encode Transparent string value
> -------------------------------------------------------------------------
>
>                 Key: TRINIDAD-2147
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2147
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions:  1.2.12-core
>         Environment: IE & FF
>            Reporter: Kentaro Kinebuchi
>         Attachments: bug13036913.patch
>
>
> When a component defines a ColorConverter, in certain double byte languages like Japanese
on IE and FF the browser will throw a parser error because the rendered reply contains Strings
which have not been encoded. ie, ColorConverter.getClientScript has the following lines:
>        buff.append("_cfTrans=\"");
>         buff.append(XhtmlUtils.escapeJS(getTransparentString(context)));
>         buff.append("\";");
> The Transparent string value is not HexEncoded and is simply escaped. There is a similar
problem in ColorFormatInfoScriptlet.outputScriptletContent().

--
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

        

Mime
View raw message