]> granicus.if.org Git - curl/commit
cookie: Add support for cookie prefixes
authorDaniel Gustafsson <daniel@yesql.se>
Sat, 16 Feb 2019 23:09:30 +0000 (00:09 +0100)
committerDaniel Gustafsson <daniel@yesql.se>
Sat, 16 Feb 2019 23:09:30 +0000 (00:09 +0100)
commite6522522f96ad96b459e608c6cdcd46a32099b5b
tree34c27ca15b6292ed1cd9afe46cdc9176fbcedbc7
parent0299b262cd9c75adab546f4851c03995d98d61e1
cookie: Add support for cookie prefixes

The draft-ietf-httpbis-rfc6265bis-02 draft, specify a set of prefixes
and how they should affect cookie initialization, which has been
adopted by the major browsers. This adds support for the two prefixes
defined, __Host- and __Secure, and updates the testcase with the
supplied examples from the draft.

Closes #3554
Reviewed-by: Daniel Stenberg <daniel@haxx.se>
docs/HTTP-COOKIES.md
docs/ROADMAP.md
lib/cookie.c
lib/cookie.h
tests/data/test1561