HtmlRendererUtils: incorrect handling of JavaScript code containing quote (' " 
') symbol
----------------------------------------------------------------------------------------

                 Key: MYFACES-3007
                 URL: https://issues.apache.org/jira/browse/MYFACES-3007
             Project: MyFaces Core
          Issue Type: Bug
          Components: JSR-314
    Affects Versions: 2.0.3
            Reporter: Nick Belaevski


Compare behavior of the following code in Mojarra & MyFaces:


                        <h:commandLink onclick="var foo = &quot; \&quot; test 
&quot;; alert(foo);">
                                Test
                                <f:ajax />
                        </h:commandLink>

In Mojarra alert(...) is called, in MyFaces script error occurs

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to