Merge remote-tracking branch 'origin/QA_3_5'
This commit is contained in:
commit
b98fc5b0ca
@ -115,7 +115,7 @@ class ConfigFile
|
||||
|
||||
/**
|
||||
* Returns PMA_Config without user preferences applied
|
||||
*
|
||||
*
|
||||
* @return PMA_Config
|
||||
*/
|
||||
public function getOrgConfigObj()
|
||||
@ -414,10 +414,10 @@ class ConfigFile
|
||||
}
|
||||
$verbose = $this->get("Servers/$id/verbose");
|
||||
if (!empty($verbose)) {
|
||||
return htmlspecialchars($verbose);
|
||||
return $verbose;
|
||||
}
|
||||
$host = $this->get("Servers/$id/host");
|
||||
return empty($host) ? 'localhost' : htmlspecialchars($host);
|
||||
return empty($host) ? 'localhost' : $host;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -303,6 +303,7 @@ function perform_config_checks()
|
||||
if ($server_name == 'localhost') {
|
||||
$server_name .= " [$i]";
|
||||
}
|
||||
$server_name = htmlspecialchars($server_name);
|
||||
|
||||
if ($cookie_auth_server && $blowfish_secret === null) {
|
||||
$blowfish_secret = uniqid('', true);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user