]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Correctly parse an IPv6 literal host specification in an absolute URL
authorStefan Fritsch <sf@apache.org>
Sat, 29 Dec 2012 20:39:49 +0000 (20:39 +0000)
committerStefan Fritsch <sf@apache.org>
Sat, 29 Dec 2012 20:39:49 +0000 (20:39 +0000)
commite72ef569c1533867bead45c923d45355e3ef2edd
tree3f7c222fbb3897d9756982ba3243f02f77f3dadb
parent4cfd84cfb8996c618631e9faa2d47a1c01fe8b84
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().

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1426827 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
server/vhost.c