summaryrefslogtreecommitdiffstats
path: root/Bugzilla/CGI.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/CGI.pm')
-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