aboutsummaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2015-02-02 07:57:22 -0500
committerDylan William Hardison <dylan@hardison.net>2015-02-02 08:05:52 -0500
commit689f76e37a3958097b3e1d88561b9a8d19f1f41a (patch)
treea8601aa97c5cff217a170a7844500afad70079f1 /Bugzilla
parentb100a8d0670efa649c9940d50d35f09b94e4a73b (diff)
downloadbugs-689f76e37a3958097b3e1d88561b9a8d19f1f41a.tar
bugs-689f76e37a3958097b3e1d88561b9a8d19f1f41a.tar.gz
bugs-689f76e37a3958097b3e1d88561b9a8d19f1f41a.tar.bz2
bugs-689f76e37a3958097b3e1d88561b9a8d19f1f41a.tar.xz
bugs-689f76e37a3958097b3e1d88561b9a8d19f1f41a.zip
Bug 1128245 - upgrading from v4.4.6 to v5.0rc2 fails on connection problem with MySQL
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Config.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/Bugzilla/Config.pm b/Bugzilla/Config.pm
index fdbedbdc0..1e22b5239 100644
--- a/Bugzilla/Config.pm
+++ b/Bugzilla/Config.pm
@@ -335,7 +335,9 @@ sub read_param_file {
die "Error parsing $file: $error_msg";
}
# JSON::XS doesn't detaint data for us.
- trick_taint($params{$_}) foreach keys %params;
+ foreach my $key (keys %params) {
+ trick_taint($params{$key}) if defined $params{$key};
+ }
}
elsif ($ENV{'SERVER_SOFTWARE'}) {
# We're in a CGI, but the params file doesn't exist. We can't