httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <>
Subject fix_hostname() in 1.3.30-dev broken
Date Thu, 18 Mar 2004 21:35:45 GMT
Ugg... fix_hostname() in 1.3.30-dev (and previous) are
broken such that it does *not* update parsed_uri with
the port and port_str value from the Host header.
This means that with a request like:

     % telnet localhost 8888
     GET / HTTP/1.1
     Host: foo:9999

that the '9999' port value from the Host header is
ignored! 2.0 handles this correctly. This implies
also that UseCanonicalName Off is still broken, since
it's ignoring the port provided in the Host header.
So we correctly adjust r->hostname but not port_str/port

View raw message