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: [email protected]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to