You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Daniel Ling (JIRA)" <ji...@apache.org> on 2007/12/07 16:49:43 UTC
[jira] Created: (HTTPCLIENT-709) Exception on URL
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
[jira] Resolved: (HTTPCLIENT-709) Exception on URL
Posted by "Ortwin Glück (JIRA)" <ji...@apache.org>.
[ 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