hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "maguofeng (JIRA)" <j...@apache.org>
Subject [jira] Created: (HTTPCLIENT-678) There will throw java.lang.IllegalArgumentException if url include character "[" or "]"
Date Wed, 01 Aug 2007 09:17:53 GMT
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
tomcat
            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.<init>(HttpMethodBase.java:222)
	at org.apache.commons.httpclient.methods.GetMethod.<init>(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


Mime
View raw message