Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Interchange: users

Vend::Config::parse_dir_array bug

 

 

Interchange users RSS feed   Index | Next | Previous | View Threaded


bill at bottlenose-wine

Jun 29, 2011, 1:12 PM

Post #1 of 2 (233 views)
Permalink
Vend::Config::parse_dir_array bug

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

_______________________________________________
interchange-users mailing list
interchange-users [at] icdevgroup
http://www.icdevgroup.org/mailman/listinfo/interchange-users


david at endpoint

Jun 29, 2011, 2:05 PM

Post #2 of 2 (231 views)
Permalink
Re: Vend::Config::parse_dir_array bug [In reply to]

Bill,

Thanks for the report; I've reproduced and pushed a patch to the git repo.

Regards,

David
--
David Christensen
End Point Corporation
david [at] endpoint





_______________________________________________
interchange-users mailing list
interchange-users [at] icdevgroup
http://www.icdevgroup.org/mailman/listinfo/interchange-users

Interchange users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.