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-1254) Redirect with underscore in hostname causes ProtocolException
Date Tue, 06 Nov 2012 19:56:12 GMT

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

Oleg Kalnichevski resolved HTTPCLIENT-1254.

    Resolution: Fixed

Fixed in both trunk and 4.2.x branch.

> Redirect with underscore in hostname causes ProtocolException
> -------------------------------------------------------------
>                 Key: HTTPCLIENT-1254
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1254
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 4.1.3
>            Reporter: Richard Freedman
>             Fix For: 4.2.3
>         Attachments: stacktrace.txt
> HTTPCLIENT-911 allowed requests for URIs with hostnames containing uderscores to work,
even though they are not RFC compliant.
> However, if such a request results in a redirect to a different path on the same host,
a ProtocolException with the message "Redirect URI does not specify a valid host name" is
thrown. presumably due to the same sort of issue fixed by HTTPCLIENT-911

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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

View raw message