From 63060b90dd4c2e0b4f8839b8390b4932f983e599 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 7 Mar 2006 06:09:50 +0000 Subject: [PATCH] Bug 329295: 008filter fails if . is not in PATH - Patch by Vlad Dascalu r=LpSolit a=myk --- t/008filter.t | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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}++; -- 2.47.2