You need to sign in or sign up before continuing.
Commit e8a10aba authored by Sina Mashek's avatar Sina Mashek Committed by Dylan William Hardison

Bug 1303896 - Can't locate object method "host" via package "URI::_generic" at…

Bug 1303896 - Can't locate object method "host" via package "URI::_generic" at Bugzilla/CGI.pm line 454. r=dylan
parent 1647690e
...@@ -451,7 +451,7 @@ sub send_cookie { ...@@ -451,7 +451,7 @@ sub send_cookie {
# Add the default path and the domain in. # Add the default path and the domain in.
my $uri = URI->new(Bugzilla->params->{urlbase}); my $uri = URI->new(Bugzilla->params->{urlbase});
$paramhash{'-path'} = $uri->path; $paramhash{'-path'} = $uri->path;
$paramhash{'-domain'} = $uri->host if $uri->host; $paramhash{'-domain'} = $uri->host if $uri->can('host') && $uri->host;
push(@{$self->{'Bugzilla_cookie_list'}}, $self->cookie(%paramhash)); push(@{$self->{'Bugzilla_cookie_list'}}, $self->cookie(%paramhash));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment