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: [email protected]
        ReportedBy: [email protected]
    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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to