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