diff options
author | Simon Green <mail@simon.green> | 2015-07-29 11:38:37 +0200 |
---|---|---|
committer | Simon Green <mail@simon.green> | 2015-07-29 11:38:37 +0200 |
commit | 9e518c6b33f5b6aadb363ff0786a391c1fda6d7b (patch) | |
tree | c709e29a87a3eb95ce0b0251b803ab40e796191c /Bugzilla/CGI.pm | |
parent | f578f79698f5779f20ee8354a3af132fafaf66da (diff) | |
download | bugzilla-9e518c6b33f5b6aadb363ff0786a391c1fda6d7b.tar.gz bugzilla-9e518c6b33f5b6aadb363ff0786a391c1fda6d7b.tar.xz |
Bug 399078 - Remove the 'musthavemilestoneonaccept' parameter
r=gerv, a=simon
Diffstat (limited to 'Bugzilla/CGI.pm')
-rw-r--r-- | Bugzilla/CGI.pm | 3 |
1 files changed, 2 insertions, 1 deletions
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'}; |