Issue 8826: Invalid expires date in cookiejar
Created on 2010-05-26 18:01 by tzulberti, last changed 2022-04-11 14:57 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg106557 - (view) | Author: Tomas Zulberti (tzulberti) | Date: 2010-05-26 18:01 | |
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 |
|||
| msg112295 - (view) | Author: Georg Brandl (georg.brandl) * ![]() |
Date: 2010-08-01 09:06 | |
Thanks, fixed in r83398. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:57:01 | admin | set | github: 53072 |
| 2010-08-01 09:06:50 | georg.brandl | set | status: open -> closed nosy:
+ georg.brandl resolution: fixed |
| 2010-05-26 18:01:57 | tzulberti | create | |
