check also single quotes
This commit is contained in:
parent
6d6f47bdb2
commit
183441507c
@ -5,6 +5,9 @@ phpMyAdmin - ChangeLog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2006-06-30 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* libraries/common.lib.php: escape also single quotes
|
||||
|
||||
2006-06-28 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* libraries/Config.class.php: remove debug code
|
||||
* libraries/common.lib.php: escape allowed parameters from non-token
|
||||
|
||||
@ -2810,7 +2810,7 @@ if (!isset($_REQUEST['token']) || $_SESSION['PMA_token'] != $_REQUEST['token'])
|
||||
unset($GLOBALS[$key]);
|
||||
} else {
|
||||
// allowed stuff could be compromised so escape it
|
||||
$_REQUEST[$key] = htmlspecialchars($_REQUEST[$key]);
|
||||
$_REQUEST[$key] = htmlspecialchars($_REQUEST[$key], ENT_QUOTES);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user