diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2006-11-29 16:44:10 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2006-11-29 16:44:10 +0000 |
| commit | a1cd3c9f522760057ea3e9007d2b07ed340d745f (patch) | |
| tree | 2559d6350398a86684c7a65c1d45c025ef65342c | |
| parent | e6babbfe5f35dd972c185ff194c285df9e2e4a06 (diff) | |
Fixed #3080 -- Fixed bug in delete_cookie() method. Thanks, nowell strite
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4135 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | AUTHORS | 1 | ||||
| -rw-r--r-- | django/http/__init__.py | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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/> diff --git a/django/http/__init__.py b/django/http/__init__.py index bb0e973aae..48f10329fd 100644 --- a/django/http/__init__.py +++ b/django/http/__init__.py @@ -208,7 +208,7 @@ class HttpResponse(object): 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 |
