From addf50dfddc7fb220bb9417dc280c8b93f658c60 Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" Date: Mon, 29 Apr 2002 19:37:52 +0000 Subject: [PATCH] Bug 140564 - Unquoted variable in regexp in globals.pl. Patch by xor@ivwnet.com; 2xr=gerv. git-svn-id: svn://10.0.0.236/trunk@120210 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/globals.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/webtools/bugzilla/globals.pl b/mozilla/webtools/bugzilla/globals.pl index 2dd4dbc988c..2bbaf3b1504 100644 --- a/mozilla/webtools/bugzilla/globals.pl +++ b/mozilla/webtools/bugzilla/globals.pl @@ -1649,7 +1649,7 @@ sub GetOutputFormats { # Loop over each file in the sub-directory looking for format files # (files whose name looks like SCRIPT-FORMAT.EXT.tmpl). foreach my $file (@files) { - if ($file =~ /^$script-(.+)\.(.+)\.(tmpl)$/) { + if ($file =~ /^\Q$script\E-(.+)\.(.+)\.(tmpl)$/) { $formats->{$1} = { 'template' => $file , 'extension' => $2 ,