hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ortwin Glück (JIRA) <j...@apache.org>
Subject [jira] Resolved: (HTTPCLIENT-709) Exception on URL
Date Fri, 07 Dec 2007 16:01:58 GMT

     [ 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: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


Mime
View raw message