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

Jakob Korherr resolved MYFACES-2657.
------------------------------------

    Fix Version/s: 2.0.0
       Resolution: Fixed

> Already escaped apostrophes are double-escaped while building the 
> ClientBehavior JavaScript
> -------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-2657
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2657
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.0.0-beta-3
>            Reporter: Jakob Korherr
>            Assignee: Jakob Korherr
>             Fix For: 2.0.0
>
>
> Currently we do StringUtils.replace(userEventCode, '\'', "\\'"); for escaping 
> purposes, but this breaks when apostrophes in JavaScript code are already 
> escaped, because they get double-escaped.

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

        

Reply via email to