summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla/CGI.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm
index ae997a5fe..2cbb02e3e 100644
--- a/Bugzilla/CGI.pm
+++ b/Bugzilla/CGI.pm
@@ -704,7 +704,7 @@ sub send_cookie {
}
# Add the default path and the domain in.
- state $uri = Bugzilla->urlbase;
+ state $uri = URI->new( Bugzilla->localconfig->{urlbase} );
$paramhash{'-path'} = $uri->path;
# we don't set the domain.
$paramhash{'-secure'} = 1