diff options
author | David Lawrence <dkl@mozilla.com> | 2016-11-15 21:41:49 +0100 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2016-11-15 21:41:49 +0100 |
commit | 648ddd30b1504c7729fc0211c22b2104920b1e7d (patch) | |
tree | 4968209402e1cd62b0a427001ec388fe66b37713 /extensions/BMO/lib | |
parent | 9b24c23b18f6fe5632b174896b36fac84057f5f7 (diff) | |
download | bugzilla-648ddd30b1504c7729fc0211c22b2104920b1e7d.tar.gz bugzilla-648ddd30b1504c7729fc0211c22b2104920b1e7d.tar.xz |
Bug 1317519 - Triage owners page doesn't properly creates links to bug lists
Diffstat (limited to 'extensions/BMO/lib')
-rw-r--r-- | extensions/BMO/lib/Reports/Triage.pm | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |