]> git.sesse.net Git - vlc/commit
http: supersede domainless cookies
authorPierre Ynard <linkfanel@yahoo.fr>
Mon, 14 May 2012 01:49:44 +0000 (03:49 +0200)
committerPierre Ynard <linkfanel@yahoo.fr>
Mon, 14 May 2012 01:49:44 +0000 (03:49 +0200)
commitca0c548cb9597b3b3e6845de78b2c14303c1b221
tree520369896d1f5688832a4e0943ed2ac4111115f6
parent34b0c609d1d63e6359872de229542fc029bb8ace
http: supersede domainless cookies

The scope of cookies without a domain is limited to the current server.
The current logic is always wrong because either it's the same server
and the new cookie should supersede the old one, or it's a different
server and the old cookie should not be sent. This logic is still far
from RFC-compliant, but at least it should get it right some of the time.
modules/access/http.c