#25644: Setting a cookie after deletion should not keep 1970 as expiry date
-------------------------------+--------------------------
Reporter: rollokb | Owner: nobody
Type: Uncategorized | Status: new
Component: HTTP handling | Version: 1.8
Severity: Normal | Keywords: cookies http
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+--------------------------
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.
https://github.com/rollokb/django/blob/bba4aa289771c8d6a190d41125a4cd6ac0bfe821/tests/requests/tests.py#L202-L209
--
Ticket URL: <https://code.djangoproject.com/ticket/25644>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/050.4f658382380213b06669b001b579558f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.