mirror of
https://github.com/curl/curl.git
synced 2026-08-26 11:03:33 +03:00
cookies: leave secure cookies alone
Only allow secure origins to be able to write cookies with the 'secure' flag set. This reduces the risk of non-secure origins to influence the state of secure origins. This implements IETF Internet-Draft draft-ietf-httpbis-cookie-alone-01 which updates RFC6265. Closes #2956 Reviewed-by: Daniel Stenberg <daniel@haxx.se>
This commit is contained in:
parent
fdc5563b6e
commit
7a09b52c98
11 changed files with 148 additions and 43 deletions
|
|
@ -65,7 +65,6 @@ Accept: */*
|
|||
# https://curl.haxx.se/docs/http-cookies.html
|
||||
# This file was generated by libcurl! Edit at your own risk.
|
||||
|
||||
.foo.com TRUE /moo TRUE 0 test3 maybe
|
||||
.host.foo.com TRUE /we/want/ FALSE 2054030187 test2 yes
|
||||
#HttpOnly_.foo.com TRUE /we/want/ FALSE 2054030187 test yes
|
||||
</file>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue