Skip to content

Commit

Permalink
Bug 1128245 - upgrading from v4.4.6 to v5.0rc2 fails on connection pr…
Browse files Browse the repository at this point in the history
…oblem with MySQL
  • Loading branch information
dylanwh committed Feb 2, 2015
1 parent c104aa5 commit 98fe072
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Bugzilla/Config.pm
Expand Up @@ -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
Expand Down

0 comments on commit 98fe072

Please sign in to comment.