Subject: | Insecure dependency errors on taint mode |
When running M::P 2.8 under taint mode, "Insecure dependency" errors crop up if you use instantiate (and possible require) at line 314/325.
This crude change fixes the problem:
if (defined $opts{'instantiate'} || $opts{'require'}) {
if ($plugin =~ /^(.*)$/) {
$plugin = $1;
};
eval "CORE::require $plugin";
carp "Couldn't require $plugin : $@" if $@;
}