summaryrefslogtreecommitdiffstats
path: root/globals.pl
diff options
context:
space:
mode:
authorjake%acutex.net <>2001-09-01 08:51:35 +0200
committerjake%acutex.net <>2001-09-01 08:51:35 +0200
commit415a5d128205e8d6b6749f962cf25c81316389f9 (patch)
treedaded32d7e210a99b91cc2609651d32d5184d854 /globals.pl
parent21c2f341eda381ea88b32f48738869dca2e56253 (diff)
downloadbugzilla-415a5d128205e8d6b6749f962cf25c81316389f9.tar.gz
bugzilla-415a5d128205e8d6b6749f962cf25c81316389f9.tar.xz
Fix for bug 42810 - Bugzilla would choke if your product name contained a ' mark.
Patch by Christian Reis <kiko@async.com.br> r= justdave@syndicomm.com, caillon@returnzero.com
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 dcfbce883..af3c26a3d 100644
--- a/globals.pl
+++ b/globals.pl
@@ -409,7 +409,7 @@ sub GenerateCode {
$result = "";
foreach my $k (sort { uc($a) cmp uc($b)} eval("keys $name")) {
$result .= GenerateCode("\$" . substr($name, 1) .
- "{'" . $k . "'}");
+ "{" . PerlQuote($k) . "}");
}
return $result;
} else {