From ba299d1e1a9d1c180bd7c764bb31f3ed46d704f5 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Tue, 19 Dec 2017 08:58:38 -0500 Subject: fix urlbase in socorro --- Bugzilla.pm | 2 +- Bugzilla/Template.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Bugzilla.pm b/Bugzilla.pm index 3b0cab94b..b9e59e390 100644 --- a/Bugzilla.pm +++ b/Bugzilla.pm @@ -20,7 +20,7 @@ BEGIN { } } -our $VERSION = '20171219.1'; +our $VERSION = '20171219.2'; use Bugzilla::Auth; use Bugzilla::Auth::Persist::Cookie; diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index 206f2f3cb..c91b6470c 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -1138,7 +1138,7 @@ sub create { return '' unless @sigs; # use a URI object to encode the query string part. - my $uri = URI->new(correct_urlbase() . 'static/metricsgraphics/socorro-lens.html'); + my $uri = URI->new(Bugzilla->localconfig->{urlbase} . 'static/metricsgraphics/socorro-lens.html'); $uri->query_form('s' => join("\\", @sigs)); return $uri; }, -- cgit v1.2.3-24-g4f1b