From 0ffaf78a472cfd6dd5a4b1da80b5dd50f2611647 Mon Sep 17 00:00:00 2001 From: "jocuri%softhome.net" <> Date: Mon, 17 Jan 2005 04:43:21 +0000 Subject: Patch for bug 254351: Patch to add a cookiedomain parameter; patch by Eric Haszlakiewicz , r=kiko, a=myk. --- Bugzilla/CGI.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Bugzilla') 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 -- cgit v1.2.3-24-g4f1b