﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
3080	[bug] delete_cookie method imporoperly sets the domain parameter in django/http/!__init!__.py	nowell strite	Adrian Holovaty	"In django/http/!__init!__.py the delete_cookie method improperly sets the domain parameter to the path parameter. Below is a patch that corrects the oversight.


{{{
Index: django/http/__init__.py
===================================================================
--- django/http/__init__.py	(revision 4126)
+++ django/http/__init__.py	(working copy)
@@ -208,7 +208,7 @@
         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
}}}
"	defect	closed	Core (Other)	dev	normal	fixed			Unreviewed	0	0	0	0	0	0
