[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ortwin Glück resolved HTTPCLIENT-709.
-------------------------------------

    Resolution: Invalid

The pipe character is not a valid character in an URI and must therefore be 
properly escaped. Please read RFC-2396. 
HttpClient is not a browser and as such it will not try to fix broken input.

> Exception on URL
> ----------------
>
>                 Key: HTTPCLIENT-709
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-709
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 3.1 Final
>            Reporter: Daniel Ling
>            Priority: Minor
>
> There's an Exception thrown, when trying to process an URL that contains a 
> pipe (|) character.
> Now, that's a bug because there are API's out there which are accessed by 
> URLs which need to contain that character.
> java.lang.IllegalArgumentException: Invalid uri <url stripped for 
> confidentiality>
>       at 
> org.apache.commons.httpclient.HttpMethodBase.<init>(HttpMethodBase.java:222)
>       at 
> org.apache.commons.httpclient.methods.GetMethod.<init>(GetMethod.java:89)

-- 
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