Taint checking and die
am 15.10.2010 22:32:22 von tedHi,
With taint checking on (-T), doing the following causes my test server
to terminate with the message "Insecure dependency in open while
running with -t switch":
die "path = $ENV{PATH}\n";
Doing the same via a simple perl script does not result in failure.
Apparently the die in the mod_perl environment is behaving differently.
Is this normal? If so, shouldn't it say "Insecure dependency in die
...."?
I've switched to -t instead, but like the idea of server termination
when the taint check finds something.
mod_perl 2.0.4
perl 5.12.1
Thank you,
Ted