From 9e518c6b33f5b6aadb363ff0786a391c1fda6d7b Mon Sep 17 00:00:00 2001 From: Simon Green Date: Wed, 29 Jul 2015 05:38:37 -0400 Subject: Bug 399078 - Remove the 'musthavemilestoneonaccept' parameter r=gerv, a=simon --- Bugzilla/CGI.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Bugzilla/CGI.pm') diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm index 0b1712d2f..fcca0ec6a 100644 --- a/Bugzilla/CGI.pm +++ b/Bugzilla/CGI.pm @@ -430,7 +430,8 @@ sub send_cookie { ThrowCodeError('cookies_need_value') unless $paramhash{'-value'}; # Add the default path and the domain in. - $paramhash{'-path'} = Bugzilla->params->{'cookiepath'}; + my $uri = URI->new(Bugzilla->params->{urlbase}); + $paramhash{'-path'} = $uri->path; $paramhash{'-domain'} = Bugzilla->params->{'cookiedomain'} if Bugzilla->params->{'cookiedomain'}; -- cgit v1.2.3-24-g4f1b