]> granicus.if.org Git - curl/commit
resolve: allow IP address within [] brackets
authorDaniel Stenberg <daniel@haxx.se>
Fri, 17 Nov 2017 10:21:12 +0000 (11:21 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 17 Nov 2017 14:26:08 +0000 (15:26 +0100)
commit715f1f53e0cf8ce5dc6f31f4ac6677f36e1927dc
tree6b84ef8aa137acfe1590a65d3a45c09f8d65c108
parent6ce98456774792ee5fd798f18660d98facede739
resolve: allow IP address within [] brackets

... so that IPv6 addresses can be passed like they can for connect-to
and how they're used in URLs.

Added test 1324 to verify
Reported-by: Alex Malinovich
Fixes #2087
Closes #2091
docs/cmdline-opts/resolve.d
docs/libcurl/opts/CURLOPT_RESOLVE.3
lib/hostip.c
tests/data/Makefile.inc
tests/data/test1324 [new file with mode: 0644]