]> granicus.if.org Git - curl/commit
cookies: extend domain checks to non psl builds
authorDaniel Gustafsson <daniel@yesql.se>
Wed, 19 Dec 2018 19:59:09 +0000 (20:59 +0100)
committerDaniel Gustafsson <daniel@yesql.se>
Wed, 19 Dec 2018 19:59:09 +0000 (20:59 +0100)
commit3773de378d48b06c09931e44dca4d274d0bfdce0
treeefe71a59c1f0012494e1fd5f92c5011eee56d637
parent462037ad487c0457451e66afd0cb50a9f70c0c28
cookies: extend domain checks to non psl builds

Ensure to perform the checks we have to enforce a sane domain in
the cookie request. The check for non-PSL enabled builds is quite
basic but it's better than nothing.

Closes #2964
Reviewed-by: Daniel Stenberg <daniel@haxx.se>
lib/cookie.c
tests/data/test8