[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to