mirror of
https://github.com/curl/curl.git
synced 2026-08-24 14:53:31 +03:00
cookies: reject incoming cookies set for TLDs
Test 61 was modified to verify this. CVE-2014-3620 Reported-by: Tim Ruehsen URL: http://curl.haxx.se/docs/adv_20140910B.html
This commit is contained in:
parent
8a75dbeb23
commit
a76825a5ef
2 changed files with 7 additions and 0 deletions
|
|
@ -23,6 +23,7 @@ Set-Cookie: test3=maybe; domain=foo.com; path=/moo; secure
|
|||
Set-Cookie: test4=no; domain=nope.foo.com; path=/moo; secure
|
||||
Set-Cookie: test5=name; domain=anything.com; path=/ ; secure
|
||||
Set-Cookie: fake=fooledyou; domain=..com; path=/;
|
||||
Set-Cookie: supercookie=fooledyou; domain=.com; path=/;^M
|
||||
Content-Length: 4
|
||||
|
||||
boo
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue