Fix path disclossure while passing array as some params.
This commit is contained in:
@@ -88,7 +88,7 @@ if (! isset($GLOBALS['db']) || ! strlen($GLOBALS['db'])) {
|
||||
|
||||
$url_query = PMA_generate_common_url($_GET);
|
||||
|
||||
if (!empty($GLOBALS['target']) && in_array($GLOBALS['target'], $goto_whitelist)) {
|
||||
if (is_string($GLOBALS['target']) && !empty($GLOBALS['target']) && in_array($GLOBALS['target'], $goto_whitelist)) {
|
||||
$main_target = $GLOBALS['target'];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user