Django's `response.delete_cookie` method always results in a Set-Cookie-
header without the secure flag, which means that it can't delete those
cookies.
It should be possible to delete those cookies, and the prefixes should be
possible to use as `SESSION_COOKIE_NAME` (they are currently not deleted
when the session is emptied).
--
Ticket URL: <https://code.djangoproject.com/ticket/28989>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* has_patch: 0 => 1
Comment:
[https://github.com/django/django/pull/9540 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/28989#comment:1>
* type: Uncategorized => New feature
* component: Uncategorized => HTTP handling
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/28989#comment:2>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"47a99d701277f6ec98e6fd220feb9c8a1e66718e" 47a99d70]:
{{{
#!CommitTicketReference repository=""
revision="47a99d701277f6ec98e6fd220feb9c8a1e66718e"
Fixed #28989 -- Fixed HttpResponse.delete_cookie() for cookies that use
__Secure/Host prefixes.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/28989#comment:3>