Message49178
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. |
|
Date |
User |
Action |
Args |
2007-08-23 15:44:54 | admin | link | issue1375011 messages |
2007-08-23 15:44:54 | admin | create | |
|