summaryrefslogtreecommitdiffstats
path: root/t/008filter.t
diff options
context:
space:
mode:
authorMatt Selsky <selsky@columbia.edu>2014-12-11 19:00:18 +0100
committerGervase Markham <gerv@gerv.net>2014-12-11 19:00:18 +0100
commit4d1c399ff6391b70e15a2c06d5bec10e2aaa3d3c (patch)
tree28bc9ec2a5f74208167baed68cbaebe26b451c8c /t/008filter.t
parent7b8a5d16b6c84b0f2b8b8074e9f63888ca6df249 (diff)
downloadbugzilla-4d1c399ff6391b70e15a2c06d5bec10e2aaa3d3c.tar.gz
bugzilla-4d1c399ff6391b70e15a2c06d5bec10e2aaa3d3c.tar.xz
Bug 1102842 - remove and/or unwhitelist unsafe filters. r=gerv, a=simon.
Diffstat (limited to 't/008filter.t')
-rw-r--r--t/008filter.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/008filter.t b/t/008filter.t
index fea018d43..1f5219f71 100644
--- a/t/008filter.t
+++ b/t/008filter.t
@@ -210,9 +210,9 @@ 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|base64|css_class_quote|ics|
- quoteUrls|time|uri|xml|lower|html_light|
- obsolete|inactive|closed|unitconvert|
- txt|html_linebreak|markdown|none|null)\b/x;
+ quoteUrls|time|uri|xml|html_light|
+ unitconvert|txt|html_linebreak|markdown|
+ none|null)\b/x;
return 0;
}