Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJo Michael <me@mynetx.net>2012-03-10 17:21:33 +0400
committerJo Michael <me@mynetx.net>2012-03-10 17:21:33 +0400
commite04d8812fb73b3208efa74520b2bdd14a88813e4 (patch)
tree7b22d01f94f84c15320d17a054bcfca581e30273 /index.php
parent30ec35930080a84d6c8d6f6f8285592fcc87c668 (diff)
Bug #3498559 Not relying on grab_globals for $_GET[target], use $_REQUEST
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index f94bdbf2c1..574f96fd49 100644
--- a/index.php
+++ b/index.php
@@ -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;