diff options
author | Jo Michael <me@mynetx.net> | 2012-03-10 17:21:33 +0400 |
---|---|---|
committer | Jo Michael <me@mynetx.net> | 2012-03-10 17:21:33 +0400 |
commit | e04d8812fb73b3208efa74520b2bdd14a88813e4 (patch) | |
tree | 7b22d01f94f84c15320d17a054bcfca581e30273 /index.php | |
parent | 30ec35930080a84d6c8d6f6f8285592fcc87c668 (diff) |
Bug #3498559 Not relying on grab_globals for $_GET[target], use $_REQUEST
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -59,8 +59,8 @@ if (! strlen($GLOBALS['db'])) { $url_query = PMA_generate_common_url($_GET); -if (isset($GLOBALS['target']) && is_string($GLOBALS['target']) && !empty($GLOBALS['target']) && in_array($GLOBALS['target'], $goto_whitelist)) { - $main_target = $GLOBALS['target']; +if (isset($_REQUEST['target']) && is_string($_REQUEST['target']) && !empty($_REQUEST['target']) && in_array($_REQUEST['target'], $goto_whitelist)) { + $main_target = $_REQUEST['target']; } $main_target .= $url_query; |