Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 46020 invoked from network); 8 Jan 2009 13:39:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Jan 2009 13:39:21 -0000 Received: (qmail 49344 invoked by uid 500); 8 Jan 2009 13:39:20 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 49319 invoked by uid 500); 8 Jan 2009 13:39:20 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 49308 invoked by uid 99); 8 Jan 2009 13:39:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jan 2009 05:39:20 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jan 2009 13:39:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7AA2F234C485 for ; Thu, 8 Jan 2009 05:38:59 -0800 (PST) Message-ID: <859682601.1231421939494.JavaMail.jira@brutus> Date: Thu, 8 Jan 2009 05:38:59 -0800 (PST) From: "Jukka Zitting (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Resolved: (JCR-1926) Text.unescape("%") throws a StringIndexOutOfBoundsException In-Reply-To: <418556124.1231419899486.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on 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.