hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HTTPCLIENT-1214) DecompressingHttpClient getHttpHost method uses wrong URI component
Date Thu, 05 Jul 2012 11:11:34 GMT

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

Oleg Kalnichevski resolved HTTPCLIENT-1214.
-------------------------------------------

       Resolution: Fixed
    Fix Version/s: 4.2.1

Fixed in 4.2.1. Please upgrade and re-test.

Oleg
                
> DecompressingHttpClient getHttpHost method uses wrong URI component
> -------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-1214
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1214
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 4.2 Final
>            Reporter: Jan Rosczak
>             Fix For: 4.2.1
>
>
> In the getHttpHost method a HttpHost is constructed from the request URI:
>         URI uri = request.getURI();
>         return new HttpHost(uri.getAuthority());
> The authority of an URI is defined as[user-info@]host[:port] but the constructor of HttpHost
only expects a hostname. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message