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

r=glob a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@261561 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mkanat%bugzilla.org
2010-11-13 00:20:10 +00:00
parent 4027bf8fc6
commit ba4993a014
2 changed files with 2 additions and 1 deletions

View File

@@ -1 +1 @@
7600
7601

View File

@@ -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;