diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2010-11-13 01:06:32 +0100 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2010-11-13 01:06:32 +0100 |
commit | 79572c55e076a128718a7e7daf202be95f33df25 (patch) | |
tree | 5f9be2f0964999180c366a9af88ff22e97031bac /Bugzilla/Search/Quicksearch.pm | |
parent | 3cd0d0cbeb06d6d39564f6d837bad276cfed55d4 (diff) | |
download | bugzilla-79572c55e076a128718a7e7daf202be95f33df25.tar.gz bugzilla-79572c55e076a128718a7e7daf202be95f33df25.tar.xz |
Bug 611623: The alias is not filtered in QuickSearch when passed to show_bug.cgi
r=glob a=LpSolit
Diffstat (limited to 'Bugzilla/Search/Quicksearch.pm')
-rw-r--r-- | Bugzilla/Search/Quicksearch.pm | 1 |
1 files changed, 1 insertions, 0 deletions
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; |