Bug 1128245 - upgrading from v4.4.6 to v5.0rc2 fails on connection problem with MySQL

parent b100a8d0
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment