[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480495
 ] 

Ralf Hauser commented on HTTPCLIENT-642:
----------------------------------------

Ortwin may well be right that this is undefined, but since it is the behaviour 
to the #2 de-facto-standard setter, I alerted them to the idea that this smart 
solution is non-standard and "undefined" and suggested to at least warn the 
user before going for this solution  - 
https://bugzilla.mozilla.org/show_bug.cgi?id=373790

> browser encoded UTF-8 character gets truncated by URI upon escaping
> -------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-642
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-642
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>    Affects Versions: 3.0.1
>            Reporter: Ralf Hauser
>
> a mozilla 1.5.0.10 get request of an iso-8859-1 form where a user 
> inadvertently entered a chinese character arrives at my tomcat like 
> String url=  "/hp/index.php?address=addr&[EMAIL 
> PROTECTED]&name=Ralf能 GMX&subject=Newsletter"
> the chinese charcter  能 being encoded as 能
>                                 URI uri = new URI(url, false, "ISO-8859-1");
>                               GetMethod httpGet = new 
> GetMethod(uri.getEscapedURI());
>                               log.debug(httpGet.getURI());
>   "/hp/index.php?address=addr&[EMAIL PROTECTED]&name=Ralf&"
> How should I deal with that until the v4 is out? Will that no longer happen 
> there?
>     
> see also HTTPCLIENT-577

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