You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "yongyuan.jiang (JIRA)" <ji...@apache.org> on 2009/06/30 16:07:47 UTC

[jira] Created: (HTTPCLIENT-858) uri with '|'

uri with '|'
------------

                 Key: HTTPCLIENT-858
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-858
             Project: HttpComponents HttpClient
          Issue Type: Bug
          Components: HttpClient
            Reporter: yongyuan.jiang


1.open this page in firefox or ie:http://rate.taobao.com/user-rate-96afc387087fe06b44c43f2b54592290--receivedOrPosted|0--buyerOrSeller|0.htm

2.use httpclient to get or post this page 

3.then it will throw a exception because the uri has the char '|'



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


[jira] Resolved: (HTTPCLIENT-858) uri with '|'

Posted by "Ortwin Glück (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HTTPCLIENT-858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Resolution: Invalid

Properly escape non-URI characters. HttpClient is not a browser and thus does not, can not and will never try to fix invalid input.

> uri with '|'
> ------------
>
>                 Key: HTTPCLIENT-858
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-858
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>            Reporter: yongyuan.jiang
>
> 1.open this page in firefox or ie:http://rate.taobao.com/user-rate-96afc387087fe06b44c43f2b54592290--receivedOrPosted|0--buyerOrSeller|0.htm
> 2.use httpclient to get or post this page 
> 3.then it will throw a exception because the uri has the char '|'

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