don't blindly untaint @INC
Graham Knop [Tue, 1 Oct 2013 13:19:12 +0000 (09:19 -0400)]
lib/local/lib.pm

index cc91aea..1153400 100644 (file)
@@ -66,11 +66,6 @@ DEATH
 
   $arg_store{path} = $class->resolve_path($arg_store{path});
   $class->setup_local_lib_for($arg_store{path}, $deactivating);
-
-  for (@INC) { # Untaint @INC
-    next if ref; # Skip entry if it is an ARRAY, CODE, blessed, etc.
-    m/(.*)/ and $_ = $1;
-  }
 }
 
 sub pipeline;