summaryrefslogtreecommitdiffstats
path: root/globals.pl
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-04-30 04:37:52 +0200
committergerv%gerv.net <>2002-04-30 04:37:52 +0200
commit6be616ed3df7009cdd8f4d0363bc11db9f8902b0 (patch)
tree4e608b8597e43b12d725af4301b59a4df507c730 /globals.pl
parent6f9b338907638ccf69b88c8a9ed539369d760f83 (diff)
downloadbugzilla-6be616ed3df7009cdd8f4d0363bc11db9f8902b0.tar.gz
bugzilla-6be616ed3df7009cdd8f4d0363bc11db9f8902b0.tar.xz
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.pl2
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 ,