From: lpsolit%gmail.com <> Date: Tue, 7 Mar 2006 06:09:50 +0000 (+0000) Subject: Bug 329295: 008filter fails if . is not in PATH - Patch by Vlad Dascalu r=LpSolit a=myk --- diff --git a/t/008filter.t b/t/008filter.t index c9e063c78a..f2a9a9853c 100644 --- a/t/008filter.t +++ b/t/008filter.t @@ -141,7 +141,10 @@ foreach my $path (@Support::Templates::include_paths) { # filtered, we may not catch that case. next if $directive =~ /FILTER\ (html|csv|js|url_quote|quoteUrls| time|uri|xml)/x; - + + # Make sure we're not looking for ./ in the $safe hash + $file =~ s#^\./##; + # Exclude those on the nofilter list if (defined($safe{$file}{$directive})) { $safe{$file}{$directive}++;