]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 228444 - Checking for unquoted non regex variable interpolated into regex
authorSimon Green <mail@simon.green>
Sun, 30 Oct 2016 04:55:23 +0000 (14:55 +1000)
committerSimon Green <mail@simon.green>
Sun, 30 Oct 2016 04:55:23 +0000 (14:55 +1000)
t/010dependencies.t

index 4b7ca223d337296d87b8707ac04fbbe0622d9318..1b6c270a8c4c6d95d10caa376e672790466a345b 100644 (file)
@@ -69,7 +69,7 @@ foreach my $module (keys %mods) {
             $used =~ s#/#::#g;
             $used =~ s#\.pm$##;
             $used =~ s#\$module#[^:]+#;
-            $used =~ s#\${[^}]+}#[^:]+#;
+            $used =~ s#\$\{[^}]+}#[^:]+#;
             $used =~ s#[" ]##g;
             push(@use, grep(/^\Q$used\E$/, keys %mods));
         }