commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Fields (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LANG-437) Complaints that the IE fix for StringEscapeUtils.escapeJavaScript is causing problems elsewhere. Rollback?
Date Tue, 23 Sep 2008 21:39:44 GMT

    [ https://issues.apache.org/jira/browse/LANG-437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12633917#action_12633917
] 

Bob Fields commented on LANG-437:
---------------------------------

This change broke our application www.andromda.org. We use StringEscapeUtils to fix documentation
contained in Strings for inclusion in Java files and then compile those java files, resulting
in the error:

Invalid escape sequence (valid ones are  \b  \t  \n  \f  \r  \"  \'  \\ )

Note that \/ is not a valid String escape sequence.

Should use escapeJavaScript if String is meant to be used in html or XML environment rather
than in a Java environment.

See also https://issues.apache.org/jira/browse/LANG-421.

> Complaints that the IE fix for StringEscapeUtils.escapeJavaScript is causing problems
elsewhere. Rollback?
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: LANG-437
>                 URL: https://issues.apache.org/jira/browse/LANG-437
>             Project: Commons Lang
>          Issue Type: Bug
>    Affects Versions: 2.4
>            Reporter: Henri Yandell
>             Fix For: 3.0
>
>
> Need to decide if we should roll LANG-363 back or not. 

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


Mime
View raw message