Author valankar
Recipients
Date 2005-12-07.03:50:53
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
This patch implements part of bug 1372650.

Sometimes a web client will send 2 instances of the same name:

Cookie: mycookie=foo; mycookie=bar

The specs listed here:

http://wp.netscape.com/newsref/std/cookie_spec.html

state that the first one is the one that should be used. The other 
cookies listed are the inherited ones from paths that a prefix of the 
current URL. When this is parsed by the Cookie module, mycookie gets 
set to bar when it should be foo.

This patch changes Cookie.py to only use the first instance of duplicate 
cookies when parsing cookie strings.
History
Date User Action Args
2007-08-23 15:44:54adminlinkissue1375011 messages
2007-08-23 15:44:54admincreate