mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
Fix security on GETPOST('action'). Param must be sanitized.
This commit is contained in:
@@ -50,7 +50,7 @@ $langs->loadLangs(array("admin", "mymodule@mymodule"));
|
||||
if (! $user->admin) accessforbidden();
|
||||
|
||||
// Parameters
|
||||
$action = GETPOST('action', 'aZ09');
|
||||
$action = GETPOST('action', 'alpha');
|
||||
$backtopage = GETPOST('backtopage', 'alpha');
|
||||
|
||||
$arrayofparameters=array(
|
||||
|
||||
Reference in New Issue
Block a user