ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/misc/scripts/cgi/taillog.cgi
(Generate patch)

Comparing misc/scripts/cgi/taillog.cgi (file contents):
Revision 1.3 by tdb, Sun May 13 00:01:54 2001 UTC vs.
Revision 1.4 by tdb, Mon Nov 5 19:25:32 2001 UTC

# Line 12 | Line 12 | if (defined $grep) {
12          $grepStr = "";
13      }
14      else {
15 <        $grepStr = " | grep $grep";
15 >        if ($grep =~ /^[a-zA-Z_\-0-9\.\/]$/) {
16 >            $grepStr = " | grep $grep";
17 >        }
18 >        else {
19 >            $grepStr = "";
20 >        }
21      }
22   }
23   else {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines