# | 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 { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |