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 tzulberti
Recipients tzulberti
Date 2010-05-26.18:01:57
SpamBayes Score 0.06496195
Marked as misclassified No
Message-id <1274896918.81.0.357583266037.issue8826@psf.upfronthosting.co.za>
In-reply-to
Content
This happens when creating a SimpleCookie from an string. The value in the cookie is: "expires=Fri, 31-Dec-2010 23:59:59 GMT"

But in the cookiejar, the value if only "Fri,". 

As far as I know, the error is in the regular expresion _LegalCharsPatt, that doesn't allows whitespaces. The format of the expires date was taken from the wikipedia: http://en.wikipedia.org/wiki/HTTP_cookie#Cookie_attributes
History
Date User Action Args
2010-05-26 18:01:58tzulbertisetrecipients: + tzulberti
2010-05-26 18:01:58tzulbertisetmessageid: <1274896918.81.0.357583266037.issue8826@psf.upfronthosting.co.za>
2010-05-26 18:01:57tzulbertilinkissue8826 messages
2010-05-26 18:01:57tzulberticreate