From c67b3b303adba379f3625aa88a61d5fb49bd319d Mon Sep 17 00:00:00 2001 From: Simon Green Date: Thu, 15 Sep 2016 18:49:50 +1000 Subject: Bug 399066 - Remove the 'cookiedomain' parameter --- Bugzilla/CGI.pm | 3 +-- Bugzilla/Config/Advanced.pm | 6 ------ 2 files changed, 1 insertion(+), 8 deletions(-) (limited to 'Bugzilla') diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm index d43a68f93..de4bd23d3 100644 --- a/Bugzilla/CGI.pm +++ b/Bugzilla/CGI.pm @@ -451,8 +451,7 @@ sub send_cookie { # Add the default path and the domain in. my $uri = URI->new(Bugzilla->params->{urlbase}); $paramhash{'-path'} = $uri->path; - $paramhash{'-domain'} = Bugzilla->params->{'cookiedomain'} - if Bugzilla->params->{'cookiedomain'}; + $paramhash{'-domain'} = $uri->host if $uri->host; push(@{$self->{'Bugzilla_cookie_list'}}, $self->cookie(%paramhash)); } diff --git a/Bugzilla/Config/Advanced.pm b/Bugzilla/Config/Advanced.pm index b3968a254..7a61bf7c4 100644 --- a/Bugzilla/Config/Advanced.pm +++ b/Bugzilla/Config/Advanced.pm @@ -16,12 +16,6 @@ use Bugzilla::Config::Common; our $sortkey = 1700; use constant get_param_list => ( - { - name => 'cookiedomain', - type => 't', - default => '' - }, - { name => 'inbound_proxies', type => 't', -- cgit v1.2.3-24-g4f1b