[FFmpeg-devel] [PATCH 1/2] lavf/http: fix cookie parsing.

Michael Niedermayer michaelni at gmx.at
Sun Aug 17 20:04:50 CEST 2014


On Sun, Aug 17, 2014 at 02:26:29PM +0200, Nicolas George wrote:
> The current code would use any unknown attribute-value pair
> as the cookie value.
> RFC 6265 states that the first key-value pair is the actual
> cookie, and the attribute-value pairs only start after.
> 
> With the current code:
> Set-Cookie: test=good_value; path=/; dummy=42
> gives this:
> Cookie: dummy=42
> instead of this with the new code:
> Cookie: test=good_value
> 
> Signed-off-by: Nicolas George <george at nsup.org>

<BBB> michaelni: oh, rly? well I know the code..
<BBB> michaelni: I can look, weblink to patches?
<BBB> michaelni: oh, those, both ok

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140817/60b37a2d/attachment.asc>


More information about the ffmpeg-devel mailing list