--- misc/scripts/cgi/taillog.cgi 2001/11/05 19:25:32 1.4 +++ misc/scripts/cgi/taillog.cgi 2004/08/01 10:39:51 1.6 @@ -12,7 +12,7 @@ if (defined $grep) { $grepStr = ""; } else { - if ($grep =~ /^[a-zA-Z_\-0-9\.\/]$/) { + if ($grep =~ /^[a-zA-Z_\-0-9\.\/]+$/) { $grepStr = " | grep $grep"; } else { @@ -53,7 +53,7 @@ system, unix, linux, nt, server, alert">
- +