]> granicus.if.org Git - apache/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)
commit33a2fbf2bc4ee469cbd4be5455f157b0802515db
tree3f7c222fbb3897d9756982ba3243f02f77f3dadb
parent5dd77695c6326a63918a281237ea553b2ab79d0b
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