]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Correctly parse an IPv6 literal host specification in an absolute URL
authorWilliam A. Rowe Jr <wrowe@apache.org>
Fri, 4 Nov 2016 14:14:59 +0000 (14:14 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Fri, 4 Nov 2016 14:14:59 +0000 (14:14 +0000)
commitfb3f938dd04df3d5893ccf77360af0fd28e74efc
tree3e6bcf1da6e799f6a94770cb32adda9c9236263f
parent14e341118d5e0ff9da26904fc83d29c3a9f7e4c6
Correctly parse an IPv6 literal host specification in an absolute URL
in the request line.

- Fix handling of brackets [ ] surrounding the IPv6 address.
- Skip parsing r->hostname again if not necessary.
- Do some checks that the IPv6 address is sane. This is not done by
  apr_parse_addr_port().

log client error at level debug, log broken Host header value

Backports: r1407006, r1426827
Submitted by: sf

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x-merge-http-strict@1768035 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
server/vhost.c