diff options
author | jake%acutex.net <> | 2001-09-01 08:51:35 +0200 |
---|---|---|
committer | jake%acutex.net <> | 2001-09-01 08:51:35 +0200 |
commit | 415a5d128205e8d6b6749f962cf25c81316389f9 (patch) | |
tree | daded32d7e210a99b91cc2609651d32d5184d854 /query.cgi | |
parent | 21c2f341eda381ea88b32f48738869dca2e56253 (diff) | |
download | bugzilla-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 'query.cgi')
-rwxr-xr-x | query.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -347,7 +347,7 @@ sub make_js_array { foreach my $p ( @prods ) { # join each element with a "," case-insensitively alpha sorted if ( $data{$p} ) { - $ret .= $arr."['$p'] = ["; + $ret .= $arr."[".SqlQuote($p)."] = ["; # the SqlQuote() protects our 's. my @tmp = map( SqlQuote( $_ ), @{ $data{$p} } ); # do the join on a sorted, quoted list |