Fixed the fix
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2005-02-23 Alexander M. Turek <me@derrabus.de>
|
||||||
|
* libraries/grab_globals.lib.php: Fixed the fix, thanks to Marc. :-)
|
||||||
|
|
||||||
2005-02-23 Marc Delisle <lem9@users.sourceforge.net>
|
2005-02-23 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* libraries/auth/cookie.auth.lib.php: bug #1149373, error when
|
* libraries/auth/cookie.auth.lib.php: bug #1149373, error when
|
||||||
blowfish_secret is empty
|
blowfish_secret is empty
|
||||||
|
@@ -30,10 +30,11 @@ function PMA_gpc_extract($array, &$target) {
|
|||||||
* Warning: this also affects array keys:
|
* Warning: this also affects array keys:
|
||||||
* Variables like $_GET['harmless']['cfg'] will also be rejected!
|
* Variables like $_GET['harmless']['cfg'] will also be rejected!
|
||||||
*/
|
*/
|
||||||
if ($key == 'cfg'
|
if (is_string($key) && (
|
||||||
|
$key == 'cfg'
|
||||||
|| $key == 'GLOBALS'
|
|| $key == 'GLOBALS'
|
||||||
|| substr($key, 0, 3) == 'str'
|
|| substr($key, 0, 3) == 'str'
|
||||||
|| $key{0} == '_') {
|
|| $key{0} == '_')) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user