Commit 79572c55 authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 611623: The alias is not filtered in QuickSearch when passed to show_bug.cgi

r=glob a=LpSolit
parent 3cd0d0cb
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment