You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2011/01/10 14:53:56 UTC
DO NOT REPLY [Bug 50563] New: improperly truncated ipv6 address in
HTTP_X_FORWARDED_HOST variable
https://issues.apache.org/bugzilla/show_bug.cgi?id=50563
Summary: improperly truncated ipv6 address in
HTTP_X_FORWARDED_HOST variable
Product: Apache httpd-2
Version: 2.2.3
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_proxy_http
AssignedTo: bugs@httpd.apache.org
ReportedBy: msoulier@digitaltorque.ca
We have two apache servers in a ProxyPass configuration, with the public
address being an IPv6 address of https://[fd66:4613:4146:1::82]/. The Django
web framework uses the HTTP_X_FORWARDED_HOST variable to determine the host to
use for redirection, and apache passes this
HTTP_X_FORWARDED_HOST = [fd66
It looks like some code is naively assuming ipv4 and stripping everything after
the colon. This is breaking http redirects from Django and anyone else relying
on that variable.
--
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
DO NOT REPLY [Bug 50563] improperly truncated ipv6 address in
HTTP_X_FORWARDED_HOST variable
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50563
Stefan Fritsch <sf...@sfritsch.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Stefan Fritsch <sf...@sfritsch.de> 2011-02-12 16:48:46 EST ---
With 2.2.16, the correct X-Forwarded-Host header is sent to the backend. So
either this got fixed between 2.2.3 and 2.2.16, or the problem is in Django.
--
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