fix for bug 91903: insecure dependency in require in importxml.pl under taint…

fix for bug 91903: insecure dependency in require in importxml.pl under taint mode only in Perl 5.005. Patch by Jake Steenhagen <jake@acutex.net> r= justdave@syndicomm.com
parent 60dd1f7e
......@@ -51,7 +51,8 @@ use strict;
# the rest of the file is compiled.
BEGIN {
$::path = $0;
$::path =~ s#(.*)/[^/]+#$1#;
$::path =~ m#(.*)/[^/]+#;
$::path = $1;
}
chdir $::path;
use lib ($::path);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment