Return-Path: Delivered-To: apmail-jakarta-httpcomponents-dev-archive@www.apache.org Received: (qmail 85424 invoked from network); 1 Aug 2007 09:19:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Aug 2007 09:19:06 -0000 Received: (qmail 46263 invoked by uid 500); 1 Aug 2007 09:18:33 -0000 Delivered-To: apmail-jakarta-httpcomponents-dev-archive@jakarta.apache.org Received: (qmail 45729 invoked by uid 500); 1 Aug 2007 09:18:26 -0000 Mailing-List: contact httpcomponents-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list httpcomponents-dev@jakarta.apache.org Received: (qmail 45514 invoked by uid 99); 1 Aug 2007 09:18:19 -0000 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2007 02:18:18 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B1885714208 for ; Wed, 1 Aug 2007 02:17:53 -0700 (PDT) Message-ID: <9608114.1185959873723.JavaMail.jira@brutus> Date: Wed, 1 Aug 2007 02:17:53 -0700 (PDT) From: "maguofeng (JIRA)" To: httpcomponents-dev@jakarta.apache.org Subject: [jira] Updated: (HTTPCLIENT-678) There will throw java.lang.IllegalArgumentException if url include character "[" or "]" In-Reply-To: <7742306.1185959873189.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/HTTPCLIENT-678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] maguofeng updated HTTPCLIENT-678: --------------------------------- Environment: windows. jdk 1.5.12 tomcat5.5 was: windows. jdk 1.5.12 tomcat > There will throw java.lang.IllegalArgumentException if url include character "[" or "]" > --------------------------------------------------------------------------------------- > > Key: HTTPCLIENT-678 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-678 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: HttpClient > Affects Versions: 3.1 RC1 > Environment: windows. > jdk 1.5.12 > tomcat5.5 > Reporter: maguofeng > > There will throw java.lang.IllegalArgumentException if url include character "[" or "]". > And the messge [escaped absolute path not valid] is displayed. > please refer to below messge in detail > Exception in thread "main" java.lang.IllegalArgumentException: Invalid uri 'http://localhost:8080/image/ATT909627_2007-07-23-21-37-54-332[1].gif': escaped absolute path not valid > at org.apache.commons.httpclient.HttpMethodBase.(HttpMethodBase.java:222) > at org.apache.commons.httpclient.methods.GetMethod.(GetMethod.java:89) > at deploybatch.PageGet.getGetResponseWithHttpClientImage(PageGet.java:107) > at deploybatch.PageGet.main(PageGet.java:237) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org