]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 432717: t/008filter.t incorrectly reports [% foo.${bar} = baz %] as unsafe -...
authorlpsolit%gmail.com <>
Thu, 8 May 2008 03:16:24 +0000 (03:16 +0000)
committerlpsolit%gmail.com <>
Thu, 8 May 2008 03:16:24 +0000 (03:16 +0000)
t/008filter.t

index 8b92d94d0344ea55958574b38437d808541083f9..d999e200858762ae2b97fe5bb745ec79f2b412a8 100644 (file)
@@ -190,7 +190,7 @@ sub directive_ok {
     return 1 if $directive =~ /^[0-9]+$/;
 
     # Simple assignments
-    return 1 if $directive =~ /^[\w\.\$]+\s+=\s+/;
+    return 1 if $directive =~ /^[\w\.\$\{\}]+\s+=\s+/;
 
     # Conditional literals with either sort of quotes 
     # There must be no $ in the string for it to be a literal