You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2010/02/10 10:42:28 UTC

[jira] Updated: (HTTPCLIENT-911) Support underscore in domain name, or provide better exception

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

Oleg Kalnichevski updated HTTPCLIENT-911:
-----------------------------------------

         Priority: Minor  (was: Major)
    Fix Version/s: 4.1 Alpha2
       Issue Type: Improvement  (was: Bug)

> Support underscore in domain name, or provide better exception
> --------------------------------------------------------------
>
>                 Key: HTTPCLIENT-911
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-911
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: HttpClient
>    Affects Versions: 4.0.1
>            Reporter: Ziv Horesh
>            Priority: Minor
>             Fix For: 4.1 Alpha2
>
>
> When calling on HttpClient.execute with a url that contain underscore ('_'), you get NullPointerException.
> Tracing it down show that java.net.Uri complains that it is illegal name. Which is true according to the RFC.
> But it seems that most browser allow it, and some companies support it.
> I think HttpClient should either support underscores, or atleast provide a better exception.

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