From 648ddd30b1504c7729fc0211c22b2104920b1e7d Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Tue, 15 Nov 2016 20:41:49 +0000 Subject: Bug 1317519 - Triage owners page doesn't properly creates links to bug lists --- extensions/BMO/lib/Reports/Triage.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extensions/BMO/lib') diff --git a/extensions/BMO/lib/Reports/Triage.pm b/extensions/BMO/lib/Reports/Triage.pm index 90c77459f..55eeb17eb 100644 --- a/extensions/BMO/lib/Reports/Triage.pm +++ b/extensions/BMO/lib/Reports/Triage.pm @@ -16,7 +16,7 @@ use Bugzilla::Constants; use Bugzilla::Error; use Bugzilla::Product; use Bugzilla::User; -use Bugzilla::Util qw(detaint_natural trim); +use Bugzilla::Util qw(detaint_natural trim url_quote); use Date::Parse; use JSON::XS; @@ -310,7 +310,7 @@ sub owners { $data->{buglist_url} = 'priority=--&resolution=---&f1=creation_ts&o1=greaterthaneq&v1=2016-06-01'. '&f2=flagtypes.name&o2=notequals&v2=needinfo%3F'; if ($triage_owner) { - $data->{buglist_url} .= '&f3=triage_owner&o3=equals&v3=' . $triage_owner->login; + $data->{buglist_url} .= '&f3=triage_owner&o3=equals&v3=' . url_quote($triage_owner->login); } $bug_count_sth->execute($component_id); ($data->{bug_count}) = $bug_count_sth->fetchrow_array(); -- cgit v1.2.3-24-g4f1b