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 2005/06/18 07:25:56 UTC
DO NOT REPLY [Bug 35409] New: -
Base 10 IP Cause Invalid Host Header
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35409>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=35409
Summary: Base 10 IP Cause Invalid Host Header
Product: Apache httpd-2.0
Version: 2.0.54
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Build
AssignedTo: bugs@httpd.apache.org
ReportedBy: secure.box@gmail.com
Apache 2.0.54 does not recognize base 10 IP formats and so when it receives a
host header such as: "Host: 7763631671 \r\n" it parses it and finds one whole
number. I suspect that because of this, it thinks that it's a port instead of
the actual host.
Because of this, the url "http://7763631671/" would not work as the browser
sends the Host: in the header as "7763631671", however, the url
"http://7763631671:80/" would work as the browser sends the Host: in the header
as "7763631671:80" (Which can't be mistaken for a port #).
So basically fix the code parsing the "Host:" in the header so that it
recognizes the base 10 IP format.
I havn't delved into the code and most of the above is speculation.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org