From: lpsolit%gmail.com <> Date: Thu, 8 May 2008 03:16:24 +0000 (+0000) Subject: Bug 432717: t/008filter.t incorrectly reports [% foo.${bar} = baz %] as unsafe -... X-Git-Tag: bugzilla-3.3~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b65f7dd963ba5978315885d3b0766f86edacd492;p=thirdparty%2Fbugzilla.git Bug 432717: t/008filter.t incorrectly reports [% foo.${bar} = baz %] as unsafe - Patch by Frédéric Buclin r/a=mkanat --- diff --git a/t/008filter.t b/t/008filter.t index 8b92d94d03..d999e20085 100644 --- a/t/008filter.t +++ b/t/008filter.t @@ -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