diff options
author | gerv%gerv.net <> | 2002-04-30 02:37:52 +0000 |
---|---|---|
committer | gerv%gerv.net <> | 2002-04-30 02:37:52 +0000 |
commit | 6be616ed3df7009cdd8f4d0363bc11db9f8902b0 (patch) | |
tree | 4e608b8597e43b12d725af4301b59a4df507c730 /globals.pl | |
parent | Bug 140329 - Stagger headers have wrong order. Patch by myk; 2xr=gerv. (diff) | |
download | bugzilla-6be616ed3df7009cdd8f4d0363bc11db9f8902b0.tar.gz bugzilla-6be616ed3df7009cdd8f4d0363bc11db9f8902b0.tar.bz2 bugzilla-6be616ed3df7009cdd8f4d0363bc11db9f8902b0.zip |
Bug 140564 - Unquoted variable in regexp in globals.pl. Patch by xor@ivwnet.com; 2xr=gerv.
Diffstat (limited to 'globals.pl')
-rw-r--r-- | globals.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/globals.pl b/globals.pl index 2dd4dbc98..2bbaf3b15 100644 --- a/globals.pl +++ b/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 , |