Opened 9 years ago
Closed 9 years ago
#25644 closed Bug (fixed)
Setting a cookie after deletion should not keep 1970 as expiry date
Description ¶
If I delete a cookie, and then set it again, the cookie's expiration date will be Thu, 01-Jan-1970 00:00:00 GMT
meaning that it is still slated for deletion.
A failing test I wrote to verify this.
Change History (8)
comment:1 by , 9 years ago
Type: | Uncategorized → Bug |
---|
comment:2 by , 9 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:3 by , 9 years ago
comment:5 by , 9 years ago
Replying to timgraham:
Will that still result in the browser deleting the cookie?
Tested, it doesn't.
comment:6 by , 9 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Note:
See TracTickets
for help on using tickets.
This seems easy to fix
TabularUnified django/http/response.py
Thu, 01-Jan-1970 00:00:00 GMT')