*REVERT* do not prevent import pma_*

This commit is contained in:
Sebastian Mendel
2005-11-17 11:59:44 +00:00
parent 34dae8c6d3
commit cae92ceb9f
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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
);
/**