diff options
author | ivan <ivan> | 2004-04-07 08:34:08 +0000 |
---|---|---|
committer | ivan <ivan> | 2004-04-07 08:34:08 +0000 |
commit | de16528011da925274ae502e928c7878bbd7fefa (patch) | |
tree | a35fd422557fb688a2ce35aa22d07695b2ca44ba /FS | |
parent | eef6a940b33921447b792bff7ef479d1c9612993 (diff) |
argh, the glob itself is tainted under 5.005
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/part_export.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/FS/FS/part_export.pm b/FS/FS/part_export.pm index 69a0ba5ec..bd12389c2 100644 --- a/FS/FS/part_export.pm +++ b/FS/FS/part_export.pm @@ -533,9 +533,7 @@ sub export_info { #} foreach my $INC ( @INC ) { - $INC =~ /^(.*)$/; - my $untainted_INC = $1; - foreach my $file ( glob("$untainted_INC/FS/part_export/*.pm") ) { + foreach my $file ( glob("$INC/FS/part_export/*.pm") ) { warn "attempting to load export info from $file\n" if $DEBUG; $file =~ /\/(\w+)\.pm$/ or do { warn "unrecognized file in $INC/FS/part_export/: $file\n"; |