[FFmpeg-devel] [PATCH] Parse cookies more correctly
Carl Eugen Hoyos
cehoyos at ag.or.at
Sat Feb 8 09:41:33 CET 2014
Scott Moak <scott.moak <at> mybrainoncode.com> writes:
> Cookies with an Expires directive do not get parsed (and ignored)
> correctly, so we need to fix that.
> - while ((param = av_strtok(cookie, "; ", &next_param))) {
> + while ((param = av_strtok(cookie, ";", &next_param))) {
> cookie = NULL;
> + /* skip leading spaces */
> + param += strspn(param, " ");
Is this related to the "Expires" fix?
If it is an additional fix, please consider sending
two patches.
Carl Eugen
More information about the ffmpeg-devel
mailing list