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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to