[ic] Vend::Config::parse_dir_array bug

Bill Carr bill at bottlenose-wine.com
Wed Jun 29 20:12:26 UTC 2011


Hi,

I tried out 5.7.7 today and there seems to be a bug in Vend::Config::parse_dir_array.

--- /Users/bill/Downloads/interchange-5.7.7/lib/Vend/Config.pm	2011-04-22 11:59:09.000000000 -0400
+++ /Users/bill/Devo/interchange-5.7.7/lib/Vend/Config.pm	2011-06-29 16:07:51.000000000 -0400
@@ -3932,7 +3932,7 @@
 	my @dirs = grep /\S/, Text::ParseWords::shellwords($value);
 
 	foreach my $dir (@dirs) {
-                my $val;
+                my $val = $dir;
 		unless (allowed_file($dir)) {
 			config_error('Path %s not allowed in %s directive',
 								$dir, $var);


 
Bill Carr 
Bottlenose - Wine & Spirits eBusiness Specialists 
(413) 584-0400 
http://www.bottlenose-wine.com 



More information about the interchange-users mailing list