summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-08-01 14:35:46 +0200
committerlpsolit%gmail.com <>2009-08-01 14:35:46 +0200
commit2039a990c46a153a30a15b6e76e19062c5565e02 (patch)
tree53cc73654ed593baae26e597b29e949e20444b1d /t
parent8bd1ee512f2e16192c38da0887caa7dbfc7f4dc1 (diff)
downloadbugzilla-2039a990c46a153a30a15b6e76e19062c5565e02.tar.gz
bugzilla-2039a990c46a153a30a15b6e76e19062c5565e02.tar.xz
Bug 507389: [SECURITY] Users can see all products when editing bugs - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=LpSolit
Diffstat (limited to 't')
-rw-r--r--t/008filter.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/008filter.t b/t/008filter.t
index 9a53ced93..ec9e21f51 100644
--- a/t/008filter.t
+++ b/t/008filter.t
@@ -211,7 +211,7 @@ sub directive_ok {
return 1 if $directive =~ /^(time2str|url)\(/;
# Safe Template Toolkit virtual methods
- return 1 if $directive =~ /\.(length$|size$|push\(|delete\()/;
+ return 1 if $directive =~ /\.(length$|size$|push\(|unshift\(|delete\()/;
# Special Template Toolkit loop variable
return 1 if $directive =~ /^loop\.(index|count)$/;