Jan Rosczak created HTTPCLIENT-1214:
---------------------------------------
Summary: 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
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]