зеркало из https://github.com/mozilla/gecko-dev.git
Do some sanity checking on the entered bug number.
This commit is contained in:
Родитель
0edb173c36
Коммит
6cefd2890b
|
@ -33,7 +33,7 @@ if ($::FORM{'GoAheadAndLogIn'}) {
|
|||
print "Content-type: text/html\n";
|
||||
print "\n";
|
||||
|
||||
if (!defined $::FORM{'id'}) {
|
||||
if (!defined $::FORM{'id'} || $::FORM{'id'} !~ /^\s*\d+\s*$/) {
|
||||
print "<H2>Search By Bug Number</H2>\n";
|
||||
print "<FORM METHOD=GET ACTION=\"show_bug.cgi\">\n";
|
||||
print "You may find a single bug by entering its bug id here: \n";
|
||||
|
|
Загрузка…
Ссылка в новой задаче