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 2012/10/25 21:43:12 UTC
[jira] [Commented] (HTTPCLIENT-1254) Redirect with underscore in
hostname causes ProtocolException
[ https://issues.apache.org/jira/browse/HTTPCLIENT-1254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13484416#comment-13484416 ]
Oleg Kalnichevski commented on HTTPCLIENT-1254:
-----------------------------------------------
Richard,
Could you please post the complete exception stack trace?
Oleg
> Redirect with underscore in hostname causes ProtocolException
> -------------------------------------------------------------
>
> Key: HTTPCLIENT-1254
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1254
> Project: HttpComponents HttpClient
> Issue Type: Improvement
> Components: HttpClient
> Affects Versions: 4.1.3
> Reporter: Richard Freedman
>
> 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