URL parse: user name with ipv6 numerical address
authorDaniel Stenberg <daniel@haxx.se>
Fri, 20 Jan 2012 22:32:43 +0000 (23:32 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 20 Jan 2012 22:32:43 +0000 (23:32 +0100)
commit7883cd5af38a824e41b42c94890ea94bf4356fd3
tree055a72a9e9bc24550c0dd423eab97a5f70421beb
parentd7af7de5b2d9aee7e41fc45d502c082918abd4bd
URL parse: user name with ipv6 numerical address

Using a URL with embedded user name and password didn't work if the host
was given as a numerical IPv6 string, like ftp://user:password@[::1]/

Reported by: Brandon Wang
Bug: http://curl.haxx.se/mail/archive-2012-01/0047.html
lib/url.c