Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #3080 -- Fixed bug in delete_cookie() method. Thanks, nowell st…

…rite

git-svn-id: http://code.djangoproject.com/svn/django/trunk@4135 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit a1cd3c9f522760057ea3e9007d2b07ed340d745f 1 parent e6babbf
@adrianholovaty adrianholovaty authored
Showing with 2 additions and 1 deletion.
  1. +1 −0  AUTHORS
  2. +1 −1  django/http/__init__.py
View
1  AUTHORS
@@ -151,6 +151,7 @@ answer newbie questions, and generally made Django that much better:
SmileyChris <smileychris@gmail.com>
sopel
Thomas Steinacher <tom@eggdrop.ch>
+ nowell strite
Radek Švarz <http://www.svarz.cz/translate/>
Swaroop C H <http://www.swaroopch.info>
Aaron Swartz <http://www.aaronsw.com/>
View
2  django/http/__init__.py
@@ -208,7 +208,7 @@ def delete_cookie(self, key, path='/', domain=None):
if path is not None:
self.cookies[key]['path'] = path
if domain is not None:
- self.cookies[key]['domain'] = path
+ self.cookies[key]['domain'] = domain
self.cookies[key]['expires'] = 0
self.cookies[key]['max-age'] = 0
Please sign in to comment.
Something went wrong with that request. Please try again.