[FFmpeg-devel] [PATCH v4] Parse cookies more correctly

Scott Moak scott.moak at mybrainoncode.com
Mon Feb 17 10:35:32 CET 2014


A cookie with the "Expires" directive doesn't get parsed correctly. For example, a cookie like this:

lu=Rg3vHJZnehYLjVg7qi3bZjzg; Expires=Tue, 15-Jan-2013 21:47:38 GMT; Path=/; Domain=.example.com;

will get tokened:

* lu=Rg3vHJZnehYLjVg7qi3bZjzg
* Expires=Tue,
* 15-Jan-2013
* 21:47:38
* GMT

such that each of those is considered its own param in the while loop. This patch fixes this
and ignores the Expires directive.


More information about the ffmpeg-devel mailing list