diff options
author | Daniel Stenberg <daniel@haxx.se> | 2013-05-21 23:28:59 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2013-05-21 23:28:59 +0200 |
commit | 85b9dc80232d1d7d48ee4dea6db5a2263ee68efd (patch) | |
tree | a772ecc792a739a996d7b37b6e49a43cdb69e5f2 /packages | |
parent | 7d4d4892d8cddd14ab48db9991db893035a7a938 (diff) |
Curl_cookie_add: handle IPv6 hosts
1 - don't skip host names with a colon in them in an attempt to bail out
on HTTP headers in the cookie file parser. It was only a shortcut anyway
and trying to parse a file with HTTP headers will still be handled, only
slightly slower.
2 - don't skip domain names based on number of dots. The original
netscape cookie spec had this oddity mentioned and while our code
decreased the check to only check for two, the existing cookie spec has
no such dot counting required.
Bug: http://curl.haxx.se/bug/view.cgi?id=1221
Reported-by: Stefan Neis
Diffstat (limited to 'packages')
0 files changed, 0 insertions, 0 deletions