]> git.ipfire.org Git - thirdparty/curl.git/commit
cookies: do not assume a valid domain has a dot
authorDaniel Stenberg <daniel@haxx.se>
Fri, 27 Jan 2017 11:59:12 +0000 (12:59 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 27 Jan 2017 12:32:02 +0000 (13:32 +0100)
commitcbd4e1fa0dc77cd65ec09985e979a4be11b60096
treebb6ebacdb8a494bf216db8209a3fdbc23088141c
parent074405786b366b5c41ab693d1fa129e7a64171ee
cookies: do not assume a valid domain has a dot

This repairs cookies for localhost.

Non-PSL builds will now only accept "localhost" without dots, while PSL
builds okeys everything not listed as PSL.

Added test 1258 to verify.

This was a regression brought in a76825a5efa6b4
lib/cookie.c
tests/data/Makefile.inc
tests/data/test1258 [new file with mode: 0644]