diff options
Diffstat (limited to 'show_bug.cgi')
-rwxr-xr-x | show_bug.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/show_bug.cgi b/show_bug.cgi index 803e1a07e..b2e747297 100755 --- a/show_bug.cgi +++ b/show_bug.cgi @@ -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"; |