cookie parser: handle 'secure='
authorDaniel Stenberg <daniel@haxx.se>
Tue, 9 Aug 2011 12:02:05 +0000 (14:02 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 9 Aug 2011 12:02:05 +0000 (14:02 +0200)
commit7c21c1c4f981a947f9f91ff685f898d0306589f7
tree2e2555f897961ebc4a37c0f84087c7d79c1d3b4a
parentf8831d55e0a6f9c2cb21c4e37b30fd62af9f5b20
cookie parser: handle 'secure='

There are two keywords in cookie headers that don't follow the regular
name=value style: secure and httponly. Still we must support that they
are written like 'secure=' and then treat them as if they were written
'secure'. Test case 31 was much extended by Rob Ward to test this.

Bug: http://curl.haxx.se/bug/view.cgi?id=3349227
Reported by: "gnombat"
lib/cookie.c
tests/data/test31