summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2005-01-17 05:43:21 +0100
committerjocuri%softhome.net <>2005-01-17 05:43:21 +0100
commit0ffaf78a472cfd6dd5a4b1da80b5dd50f2611647 (patch)
tree7a7200a2f92cd1a8d05af66424b7116797ccb8e4 /Bugzilla
parent1ce889ad699125ad4cab16404b40f0df8fd3bf5b (diff)
downloadbugzilla-0ffaf78a472cfd6dd5a4b1da80b5dd50f2611647.tar.gz
bugzilla-0ffaf78a472cfd6dd5a4b1da80b5dd50f2611647.tar.xz
Patch for bug 254351: Patch to add a cookiedomain parameter; patch by Eric Haszlakiewicz <erh+mozilla@nimenees.com>, r=kiko, a=myk.
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/CGI.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm
index ce0a8ab6c..c4433cc62 100644
--- a/Bugzilla/CGI.pm
+++ b/Bugzilla/CGI.pm
@@ -179,6 +179,10 @@ sub send_cookie {
# Add the default path in
unshift(@_, '-path' => Param('cookiepath'));
+ if (Param('cookiedomain'))
+ {
+ unshift(@_, '-domain' => Param('cookiedomain'));
+ }
# Use CGI::Cookie directly, because CGI.pm's |cookie| method gives the
# current value if there isn't a -value attribute, which happens when