Daniel Stenberg 7f7fcd0d75 cookies: first n/v pair in Set-Cookie: is the cookie, then parameters
RFC 6265 section 4.1.1 spells out that the first name/value pair in the
header is the actual cookie name and content, while the following are
the parameters.

libcurl previously had a more liberal approach which causes significant
problems when introducing new cookie parameters, like the suggested new
cookie priority draft.

The previous logic read all n/v pairs from left-to-right and the first
name used that wassn't a known parameter name would be used as the
cookie name, thus accepting "Set-Cookie: Max-Age=2; person=daniel" to be
a cookie named 'person' while an RFC 6265 compliant parser should
consider that to be a cookie named 'Max-Age' with an (unknown) parameter
'person'.

Fixes #709
2016-03-10 11:26:12 +01:00
..
2014-11-13 23:06:44 +01:00
2008-02-09 02:37:31 +00:00
2016-03-06 16:22:49 +01:00
2014-04-03 11:49:49 +02:00
2014-04-03 11:49:49 +02:00
2015-03-16 15:01:15 +01:00
2009-12-24 12:04:33 +00:00
2009-12-24 12:04:33 +00:00
2014-04-03 11:49:49 +02:00
2007-12-08 22:56:17 +00:00
2007-12-08 22:56:17 +00:00
2007-12-08 22:56:17 +00:00
2007-12-08 22:56:17 +00:00
2007-12-08 22:56:17 +00:00
2007-12-08 22:56:17 +00:00
2007-12-08 22:56:17 +00:00
2007-12-08 22:56:17 +00:00
2013-06-25 09:55:49 +02:00
2008-07-31 02:51:44 +00:00
2008-01-05 12:15:41 +00:00
2014-04-03 11:49:49 +02:00
2014-04-03 11:49:49 +02:00
2008-10-08 01:17:51 +00:00
2014-04-03 11:49:49 +02:00
2015-11-06 10:55:30 +01:00
2013-06-25 09:55:49 +02:00
2015-11-06 10:55:30 +01:00
2015-11-06 10:55:30 +01:00
2015-11-06 10:55:30 +01:00
2015-11-06 10:55:30 +01:00
2008-01-07 19:54:40 +00:00
2010-01-18 20:20:07 +00:00
2010-01-18 20:20:07 +00:00
2010-01-18 20:20:07 +00:00
2010-05-27 23:45:18 +02:00
2008-11-11 21:58:41 +00:00
2011-10-21 16:52:14 +02:00
2008-08-26 20:11:12 +00:00
2008-08-26 20:11:12 +00:00
2008-08-26 20:11:12 +00:00
2008-08-26 20:11:12 +00:00
2008-08-26 20:21:59 +00:00
2008-08-26 20:11:12 +00:00
2011-10-21 16:52:14 +02:00
2015-11-02 08:41:46 +01:00
2011-04-28 10:06:49 +02:00
2011-05-18 22:56:46 +02:00
2014-04-03 11:49:49 +02:00
2013-04-25 23:42:38 +02:00
2014-04-03 11:49:48 +02:00
2014-04-03 11:49:48 +02:00
2013-11-17 00:20:58 +00:00
2014-04-03 11:49:48 +02:00
2014-04-03 11:49:48 +02:00
2013-11-17 12:52:42 +00:00
2015-03-21 01:27:44 +01:00
2007-10-25 21:04:51 +00:00
2015-11-06 10:55:30 +01:00
2015-11-06 10:55:30 +01:00
2008-06-01 22:04:09 +00:00
2008-06-01 22:04:09 +00:00
2008-08-14 19:18:18 +00:00
2008-08-14 19:18:18 +00:00
2008-08-14 19:18:18 +00:00
2008-08-14 19:18:18 +00:00
2008-08-14 19:18:18 +00:00
2008-06-01 22:04:09 +00:00
2008-06-01 22:04:09 +00:00
2015-11-06 10:55:30 +01:00
2008-07-31 02:51:44 +00:00
2008-07-31 02:38:51 +00:00
2008-09-22 21:33:18 +00:00
2010-03-31 22:22:37 -07:00
2015-11-06 10:55:30 +01:00
2015-11-06 10:55:30 +01:00
2015-11-06 10:55:30 +01:00
2010-10-19 20:20:06 +02:00
2014-04-03 11:49:49 +02:00
2011-04-20 16:51:44 -07:00
2014-04-03 11:49:49 +02:00
2014-04-03 11:49:49 +02:00
2014-04-03 11:49:49 +02:00
2010-08-25 16:43:26 -07:00
2010-08-25 16:43:26 -07:00
2010-08-25 16:43:26 -07:00
2013-04-12 23:59:37 +02:00
2014-04-03 11:49:49 +02:00
2014-04-03 11:49:49 +02:00
2013-08-16 11:55:04 +02:00
2015-11-06 10:55:30 +01:00
2011-01-04 23:13:10 +01:00
2011-01-04 23:13:10 +01:00
2011-01-04 23:13:10 +01:00
2011-06-13 22:32:00 +02:00
2011-08-04 17:48:45 +02:00
2011-08-04 17:48:45 +02:00
2011-12-16 11:39:53 +01:00
2011-12-23 14:46:20 +01:00
2012-01-18 22:20:33 +01:00
2014-04-03 11:49:49 +02:00
2015-05-23 16:28:09 +02:00
2015-12-26 17:25:59 +01:00
2015-02-03 20:37:44 +01:00
2015-02-03 23:05:55 +01:00
2015-11-06 10:55:30 +01:00
2015-11-06 10:55:30 +01:00
2015-11-06 10:55:30 +01:00
2015-07-01 19:43:47 +02:00
2015-08-22 21:57:14 -04:00
2015-08-22 21:57:14 -04:00