Subject: | Doesn't work in taint mode |
Just installed TWiki, and hit taint mode errors from the
eval "require $_" at line 650 in sub load in Session.pm
First access, taking the defaults for serializer, driver and ID.
Perl is 5.6.0 (yeah, it's old:-) on linux (redhat 7.2)
Replacing...
for ( @pms ) {
eval "require $_";
With
my ($pm);
for $pm ( @pms ) {
$pm =~ /(.*)/;
$pm = $1;
eval "require $pm";
fixes the problem (albeit rather sluttishly!).