Return-Path: X-Original-To: apmail-hc-dev-archive@www.apache.org Delivered-To: apmail-hc-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7032398EF for ; Fri, 26 Oct 2012 21:01:12 +0000 (UTC) Received: (qmail 22753 invoked by uid 500); 26 Oct 2012 21:01:12 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 22727 invoked by uid 500); 26 Oct 2012 21:01:12 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 22719 invoked by uid 99); 26 Oct 2012 21:01:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Oct 2012 21:01:12 +0000 Date: Fri, 26 Oct 2012 21:01:12 +0000 (UTC) From: "Richard Freedman (JIRA)" To: dev@hc.apache.org Message-ID: <1168146128.33543.1351285272141.JavaMail.jiratomcat@arcas> In-Reply-To: <909435540.28267.1351185552117.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (HTTPCLIENT-1254) Redirect with underscore in hostname causes ProtocolException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HTTPCLIENT-1254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard Freedman updated HTTPCLIENT-1254: ----------------------------------------- Attachment: stacktrace.txt stack trace for HTTPCLIENT-1254 > 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 > 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