This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author chch
Recipients amaury.forgeotdarc, chch
Date 2009-12-19.09:23:30
SpamBayes Score 0.00021258803
Marked as misclassified No
Message-id <1261214612.42.0.27562672334.issue7504@psf.upfronthosting.co.za>
In-reply-to
Content
This is fix for rare problem. If I set 2 cookies:
sid=pub.GHoBitAWLt, path="/"
sid=cab.S97jUfeihM, path="/cab"
All browsers in Cookie header send for any URL '/cab*':
sid=cab.S97jUfeihM; sid=pub.GHoBitAWLt
Current implementation always returns Cookie['sid']=pub.GHoBitAWLt - wrong!
My patch resolve this problem and Cookie['sid'] returns first (nearest/deepest in path) cookie value, 
and also collects all same name cookies in dict Cookie._multi .

Name (_multi) may be wrong, and may be any other :o) .

Also I can update documentation, but my English is not so good ...
History
Date User Action Args
2009-12-19 09:23:32chchsetrecipients: + chch, amaury.forgeotdarc
2009-12-19 09:23:32chchsetmessageid: <1261214612.42.0.27562672334.issue7504@psf.upfronthosting.co.za>
2009-12-19 09:23:30chchlinkissue7504 messages
2009-12-19 09:23:30chchcreate