You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Roland Weber (JIRA)" <ji...@apache.org> on 2007/09/22 08:40:50 UTC

[jira] Closed: (HTTPCLIENT-691) URI does not handle non-ASCII characters in host names correctly

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roland Weber closed HTTPCLIENT-691.
-----------------------------------

    Resolution: Won't Fix

Hello Christopher,

I'm sorry, but we're not going to hack IDN support into 3.x anymore. It is stable and final. We'll fix bugs, but there will be no new features added to the 3.x codebase.
As you have noticed, the URI class is a mess. You don't know whether your changes break something somewhere else, and neither do we. Changing HttpHost to use getRawHost instead of getHost is almost sure to break other people's applications. You should apply such patches to your local copy, that's the beauty of open source software.

HttpClient 4.0 is using the Java URI class, though it's not ready for production use yet. All our efforts go into the new codebase that will make HttpClient 3.1 obsolete.

cheers,
  Roland


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