[
https://issues.apache.org/jira/browse/HTTPCLIENT-691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12529508
]
Christopher Sahnwaldt commented on HTTPCLIENT-691:
--------------------------------------------------
When I posted the description, JIRA apparently noticed that the string was a
URL... let's try again:
URI uri = new URI("http"+"://bär.de/bär?bär=eis", false);
System.out.println(uri.getHost());
System.out.println(uri.getPath());
System.out.println(uri.getQuery());
System.out.println(uri.isHostname());
b?r.de
/bär
bär=eis
false
> URI does not handle non-ASCII characters in host names correctly
> ----------------------------------------------------------------
>
> Key: HTTPCLIENT-691
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-691
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpClient
> Reporter: Christopher Sahnwaldt
> Priority: Minor
>
> URI uri = new URI("http://www.eisbär.de/eisbär?eis=bär", false);
> System.out.println(uri.getHost());
> System.out.println(uri.getPath());
> System.out.println(uri.getQuery());
> prints
> www.eisb?r.de
> /eisbär
> eis=bär
--
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]