You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Vishal Kala (JIRA)" <ji...@apache.org> on 2008/11/26 17:50:44 UTC

[jira] Created: (LANG-473) StringEscapeUtils.escapeJava () not escaping forward slash correctly.

StringEscapeUtils.escapeJava () not escaping forward slash correctly.
---------------------------------------------------------------------

                 Key: LANG-473
                 URL: https://issues.apache.org/jira/browse/LANG-473
             Project: Commons Lang
          Issue Type: Bug
    Affects Versions: 2.4
         Environment: Solaris and Windows
            Reporter: Vishal Kala


We are trying to escape forward slash using StringEscapeUtils.escapeJava ()  method. The output returned by this method is no longer a valid Java String. 

e.g. 

String s = "a/b/c";
System.out.println(StringEscapeUtils.escapeJava (s));

The output returned is a\/b\/c which is not a even a valid Java String.

This was working fine in 2.0 release of this jar.





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


[jira] Commented: (LANG-473) StringEscapeUtils.escapeJava () not escaping forward slash correctly.

Posted by "Sebb (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LANG-473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651069#action_12651069 ] 

Sebb commented on LANG-473:
---------------------------

No idea - anyway JIRA is not the forum for such questions...

Please ask the question in the Commons User List; remember to prefix the subject with [LANG]

> StringEscapeUtils.escapeJava () not escaping forward slash correctly.
> ---------------------------------------------------------------------
>
>                 Key: LANG-473
>                 URL: https://issues.apache.org/jira/browse/LANG-473
>             Project: Commons Lang
>          Issue Type: Bug
>    Affects Versions: 2.4
>         Environment: Solaris and Windows
>            Reporter: Vishal Kala
>             Fix For: 3.0
>
>
> We are trying to escape forward slash using StringEscapeUtils.escapeJava ()  method. The output returned by this method is no longer a valid Java String. 
> e.g. 
> String s = "a/b/c";
> System.out.println(StringEscapeUtils.escapeJava (s));
> The output returned is a\/b\/c which is not a even a valid Java String.
> This was working fine in 2.0 release of this jar.

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


[jira] Closed: (LANG-473) StringEscapeUtils.escapeJava () not escaping forward slash correctly.

Posted by "Sebb (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LANG-473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebb closed LANG-473.
---------------------


> StringEscapeUtils.escapeJava () not escaping forward slash correctly.
> ---------------------------------------------------------------------
>
>                 Key: LANG-473
>                 URL: https://issues.apache.org/jira/browse/LANG-473
>             Project: Commons Lang
>          Issue Type: Bug
>    Affects Versions: 2.4
>         Environment: Solaris and Windows
>            Reporter: Vishal Kala
>             Fix For: 3.0
>
>
> We are trying to escape forward slash using StringEscapeUtils.escapeJava ()  method. The output returned by this method is no longer a valid Java String. 
> e.g. 
> String s = "a/b/c";
> System.out.println(StringEscapeUtils.escapeJava (s));
> The output returned is a\/b\/c which is not a even a valid Java String.
> This was working fine in 2.0 release of this jar.

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


[jira] Resolved: (LANG-473) StringEscapeUtils.escapeJava () not escaping forward slash correctly.

Posted by "Niall Pemberton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LANG-473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Niall Pemberton resolved LANG-473.
----------------------------------

       Resolution: Duplicate
    Fix Version/s:     (was: 3.0)
                   2.5

> StringEscapeUtils.escapeJava () not escaping forward slash correctly.
> ---------------------------------------------------------------------
>
>                 Key: LANG-473
>                 URL: https://issues.apache.org/jira/browse/LANG-473
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: lang.*
>    Affects Versions: 2.4
>         Environment: Solaris and Windows
>            Reporter: Vishal Kala
>             Fix For: 2.5
>
>
> We are trying to escape forward slash using StringEscapeUtils.escapeJava ()  method. The output returned by this method is no longer a valid Java String. 
> e.g. 
> String s = "a/b/c";
> System.out.println(StringEscapeUtils.escapeJava (s));
> The output returned is a\/b\/c which is not a even a valid Java String.
> This was working fine in 2.0 release of this jar.

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


[jira] Resolved: (LANG-473) StringEscapeUtils.escapeJava () not escaping forward slash correctly.

Posted by "Sebb (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LANG-473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebb resolved LANG-473.
-----------------------

       Resolution: Fixed
    Fix Version/s: 3.0

Duplicate of LANG-421

> StringEscapeUtils.escapeJava () not escaping forward slash correctly.
> ---------------------------------------------------------------------
>
>                 Key: LANG-473
>                 URL: https://issues.apache.org/jira/browse/LANG-473
>             Project: Commons Lang
>          Issue Type: Bug
>    Affects Versions: 2.4
>         Environment: Solaris and Windows
>            Reporter: Vishal Kala
>             Fix For: 3.0
>
>
> We are trying to escape forward slash using StringEscapeUtils.escapeJava ()  method. The output returned by this method is no longer a valid Java String. 
> e.g. 
> String s = "a/b/c";
> System.out.println(StringEscapeUtils.escapeJava (s));
> The output returned is a\/b\/c which is not a even a valid Java String.
> This was working fine in 2.0 release of this jar.

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


[jira] Commented: (LANG-473) StringEscapeUtils.escapeJava () not escaping forward slash correctly.

Posted by "Vishal Kala (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LANG-473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651065#action_12651065 ] 

Vishal Kala commented on LANG-473:
----------------------------------

Sebb,

Thanks a lot for the information on this issue. Can you please let me
know by when the 3.0 version will be available?

Thanks & Regards,
Vishal Kala



> StringEscapeUtils.escapeJava () not escaping forward slash correctly.
> ---------------------------------------------------------------------
>
>                 Key: LANG-473
>                 URL: https://issues.apache.org/jira/browse/LANG-473
>             Project: Commons Lang
>          Issue Type: Bug
>    Affects Versions: 2.4
>         Environment: Solaris and Windows
>            Reporter: Vishal Kala
>             Fix For: 3.0
>
>
> We are trying to escape forward slash using StringEscapeUtils.escapeJava ()  method. The output returned by this method is no longer a valid Java String. 
> e.g. 
> String s = "a/b/c";
> System.out.println(StringEscapeUtils.escapeJava (s));
> The output returned is a\/b\/c which is not a even a valid Java String.
> This was working fine in 2.0 release of this jar.

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


[jira] Reopened: (LANG-473) StringEscapeUtils.escapeJava () not escaping forward slash correctly.

Posted by "Niall Pemberton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LANG-473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Niall Pemberton reopened LANG-473:
----------------------------------


> StringEscapeUtils.escapeJava () not escaping forward slash correctly.
> ---------------------------------------------------------------------
>
>                 Key: LANG-473
>                 URL: https://issues.apache.org/jira/browse/LANG-473
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: lang.*
>    Affects Versions: 2.4
>         Environment: Solaris and Windows
>            Reporter: Vishal Kala
>             Fix For: 2.5
>
>
> We are trying to escape forward slash using StringEscapeUtils.escapeJava ()  method. The output returned by this method is no longer a valid Java String. 
> e.g. 
> String s = "a/b/c";
> System.out.println(StringEscapeUtils.escapeJava (s));
> The output returned is a\/b\/c which is not a even a valid Java String.
> This was working fine in 2.0 release of this jar.

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