You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2009/01/08 14:04:59 UTC
[jira] Created: (JCR-1926) Text.unescape("%") throws a
StringIndexOutOfBoundsException
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
Priority: Minor
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.
[jira] Resolved: (JCR-1926) Text.unescape("%") throws a
StringIndexOutOfBoundsException
Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (JCR-1926) Text.unescape("%") throws a
StringIndexOutOfBoundsException
Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1926?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting updated JCR-1926:
-------------------------------
Component/s: jackrabbit-webdav
> Text.unescape("%") throws a StringIndexOutOfBoundsException
> -----------------------------------------------------------
>
> Key: JCR-1926
> URL: https://issues.apache.org/jira/browse/JCR-1926
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Components: jackrabbit-jcr-commons, jackrabbit-webdav
> 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.