]> granicus.if.org Git - curl/commit
Curl_http: strip off [brackets] from ipv6-only host headers
authorAndrei Cipu <acipu@ixiacom.com>
Sat, 10 Mar 2012 15:48:59 +0000 (16:48 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 10 Mar 2012 15:48:59 +0000 (16:48 +0100)
commite650dbde86d47fc9ded3a8328b8d765fce54078b
tree25e4cad8e300ca823e2f67020907f6b2552707ab
parentb50e9e9e9e39538b53cf56829f872f3034fc8060
Curl_http: strip off [brackets] from ipv6-only host headers

Since the host name is passed in to the cookie engine it will not work
correctly if the brackets are left in the name.

Bug:http://curl.haxx.se/mail/lib-2012-03/0036.html
lib/http.c