httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 52178] New: IPv6 IPs as ServerName not allowed
Date Mon, 14 Nov 2011 16:42:53 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52178

             Bug #: 52178
           Summary: IPv6 IPs as ServerName not allowed
           Product: Apache httpd-2
           Version: 2.2.21
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: rainer-apache@7val.com
    Classification: Unclassified


Created attachment 27936
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27936
patch (search port after ] if one exists)

server/core.c:server_hostname_port() uses everything after the first ":" as a
port and prevents startup if it is not in the range 1-65535. If a IPv6 IP is
used as a ServerName, the result is bound to be invalid. The enclosed patch
starts the search for a ":" after the first closing square bracket if one
exists, otherwise it falls back to the current behavior.

-- 
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


Mime
View raw message