bug #1534475, arbitrary server not taken into account

This commit is contained in:
Marc Delisle
2006-08-10 16:50:18 +00:00
parent 59a25bf54e
commit 7bcf140588
2 changed files with 2 additions and 1 deletions

View File

@@ -2859,7 +2859,7 @@ if (!isset($_REQUEST['token']) || $_SESSION['PMA_token'] != $_REQUEST['token'])
/* Cookie preferences */
'pma_lang', 'pma_charset', 'pma_collation_connection', 'pma_convcharset',
/* Possible login form */
'pma_username', 'pma_password',
'pma_servername', 'pma_username', 'pma_password',
);
$keys = array_keys($_REQUEST);
/* Remove any non allowed stuff from requests */