diff --git a/ChangeLog b/ChangeLog index 5d93243b2..a4f61be3b 100755 --- a/ChangeLog +++ b/ChangeLog @@ -13,6 +13,7 @@ $Source$ for GLOBALS key (not only _REQUEST and _FILES ) - added $import_blacklist - added variables starting with pma_, numeric or containing spaces + - *REVERT* do not prevent import pma_* - rewrote PMA_gpc_extract() - use $import_blacklist - documentation diff --git a/libraries/grab_globals.lib.php b/libraries/grab_globals.lib.php index 732f1b81a..90c31be68 100644 --- a/libraries/grab_globals.lib.php +++ b/libraries/grab_globals.lib.php @@ -31,7 +31,6 @@ foreach ( get_defined_vars() as $key => $value ) { } unset( $key, $value ); - // protect against older PHP versions' bug about GLOBALS overwrite // (no need to translate this one :) ) // but what if script.php?GLOABLS[admin]=1&GLOBALS[_REQUEST]=1 ??? @@ -54,7 +53,7 @@ $import_blacklist = array( '/^_.*$/i', // PMA does not use variables starting with _ from extern '/^.*\s+.*$/i', // no whitespaces anywhere '/^[0-9]+.*$/i', // numeric variable names - '/^PMA_.*$/i', // other PMA variables + //'/^PMA_.*$/i', // other PMA variables ); /**