From 79572c55e076a128718a7e7daf202be95f33df25 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Sat, 13 Nov 2010 01:06:32 +0100 Subject: Bug 611623: The alias is not filtered in QuickSearch when passed to show_bug.cgi r=glob a=LpSolit --- Bugzilla/Search/Quicksearch.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Bugzilla/Search/Quicksearch.pm b/Bugzilla/Search/Quicksearch.pm index f98bd54d2..b2151ba3a 100644 --- a/Bugzilla/Search/Quicksearch.pm +++ b/Bugzilla/Search/Quicksearch.pm @@ -248,6 +248,7 @@ sub _handle_alias { my $is_alias = Bugzilla->dbh->selectrow_array( q{SELECT 1 FROM bugs WHERE alias = ?}, undef, $alias); if ($is_alias) { + $alias = url_quote($alias); print Bugzilla->cgi->redirect( -uri => correct_urlbase() . "show_bug.cgi?id=$alias"); exit; -- cgit v1.2.3-24-g4f1b