diff options
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/CGI.pm | 4 |
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 |