From 026539311662235ea26f5f3cfe885322846db6fb Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Sun, 7 Sep 2003 02:23:09 +0000 Subject: Bug 207044 - Filter more template directives. None of these are security bugs, but they need fixing anyway. Patch by gerv; r,a=justdave. --- t/004template.t | 1 + t/008filter.t | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 't') diff --git a/t/004template.t b/t/004template.t index 725241426..78d58edd5 100644 --- a/t/004template.t +++ b/t/004template.t @@ -99,6 +99,7 @@ foreach my $include_path (@include_paths) { csv => sub { return $_ } , time => sub { return $_ } , obscure_email => sub { return $_ } , + none => sub { return $_ } , }, } ); diff --git a/t/008filter.t b/t/008filter.t index 3bf7f3fd1..8b8b36d5c 100644 --- a/t/008filter.t +++ b/t/008filter.t @@ -199,7 +199,7 @@ sub directive_ok { # Note: If a single directive prints two things, and only one is # filtered, we may not catch that case. return 1 if $directive =~ /FILTER\ (html|csv|js|url_quote|css_class_quote| - quoteUrls|time|uri|xml|lower)/x; + quoteUrls|time|uri|xml|lower|none)/x; return 0; } -- cgit v1.2.3-24-g4f1b