jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-1926) Text.unescape("%") throws a StringIndexOutOfBoundsException
Date Thu, 08 Jan 2009 13:38:59 GMT

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

Jukka Zitting resolved JCR-1926.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.1
         Assignee: Jukka Zitting

Fixed in revision 732703. Scheduling for 1.5.1.

> Text.unescape("%") throws a StringIndexOutOfBoundsException
> -----------------------------------------------------------
>
>                 Key: JCR-1926
>                 URL: https://issues.apache.org/jira/browse/JCR-1926
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-jcr-commons
>    Affects Versions: 1.5.0
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>            Priority: Minor
>             Fix For: 1.5.1
>
>
> You get the following exception:
> java.lang.StringIndexOutOfBoundsException: String index out of range: 3
> 	at java.lang.String.substring(String.java:1935)
> 	at org.apache.jackrabbit.util.Text.unescape(Text.java:407)
> 	at org.apache.jackrabbit.util.Text.unescape(Text.java:438)
> It would be better if it failed with IllegalArgumentException.

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