Return-Path: Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: (qmail 47949 invoked from network); 9 May 2009 13:48:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 May 2009 13:48:54 -0000 Received: (qmail 81649 invoked by uid 500); 9 May 2009 13:48:54 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 81573 invoked by uid 500); 9 May 2009 13:48:53 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: "Apache HTTPD Bugs Notification List" List-Id: Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 81560 invoked by uid 99); 9 May 2009 13:48:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 May 2009 13:48:53 +0000 X-ASF-Spam-Status: No, hits=-1998.5 required=10.0 tests=ALL_TRUSTED,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 May 2009 13:48:42 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id F09ED234C044; Sat, 9 May 2009 06:48:21 -0700 (PDT) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: DO NOT REPLY [Bug 47177] New: mod_proxy rewrites incorrectly IPv6 literal addresses X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Apache httpd-2 X-Bugzilla-Component: mod_proxy_http X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cgbraschi@gmail.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: bugs@httpd.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Sat, 9 May 2009 06:48:21 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=47177 Summary: mod_proxy rewrites incorrectly IPv6 literal addresses Product: Apache httpd-2 Version: 2.2.9 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: mod_proxy_http AssignedTo: bugs@httpd.apache.org ReportedBy: cgbraschi@gmail.com mod_proxy rewrites a received request of GET http://[2001:4860:a005::84]/search?q=cache:KD9mYbWwEgkJ:www.apache.org/+apache&cd=1&hl=en&ct=clnk HTTP/1.1 Host: [2001:4860:a005::84] into GET /search?q=cache:KD9mYbWwEgkJ:www.apache.org/+apache&cd=1&hl=en&ct=clnk HTTP/1.1 Host: 2001:4860:a005::84 Which is incorrect, loosely according to RFC 3986 (for URI syntax), (http://tools.ietf.org/html/rfc3986), that says "A host identified by an Internet Protocol literal address, version 6 [RFC3513] or later, is distinguished by enclosing the IP literal within square brackets ("[" and "]")". The right way to do it would be to use GET /search?q=cache:KD9mYbWwEgkJ:www.apache.org/+apache&cd=1&hl=en&ct=clnk HTTP/1.1 Host: [2001:4860:a005::84] This behaviour can be worked around by using "ProxyPreserveHost On", but that should be the default behaviours. This behaviour leads to infinite redirection in servers that detect the error and redirect to http://[2001:4860:a005::84]/search... (like Google Web Server when used for caching) -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org