mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-05 16:22:53 +00:00
Do some sanity checking on the entered bug number.
This commit is contained in:
parent
0edb173c36
commit
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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user