diff options
Diffstat (limited to 'util/lg/lg.cgi.in')
-rwxr-xr-x | util/lg/lg.cgi.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/lg/lg.cgi.in b/util/lg/lg.cgi.in index 0320b7d..0900060 100755 --- a/util/lg/lg.cgi.in +++ b/util/lg/lg.cgi.in @@ -378,7 +378,7 @@ if ($type eq "prefix" || $type eq "mbgp" || $type eq "route" ) { # don't show the jewels &print_results if ($arg == 98 || $arg == 99); } elsif ($type eq "prefixlist" || $type eq "routemap") { - if ($arg[0] !~ /^[A-Za-z][^\s\"]*$/) { + if ($arg[0] !~ /^[0-9A-Za-z][^\s\"]*$/) { $results[0] = "That argument ($arg[0]) is not valid.\n"; &print_results; } |