I'm trying to learn how to build my scripts in taing mode, but really having trouble here!?my $file = "//Administrator/Web Sites/Learning/myweek_$no.html"; if ($file =~ /^([-\@\w._:\/]+)$/) { $file = $1; # $data now untainted } else { print "Please report this error to the admin. Thanks"; ex +it; } open OUTPUT, ">$file.html"; print OUTPUT $template->output; close OUTPUT;
In reply to tainting! by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |