forked from Wavyzz/dolibarr
Fix: XSS injection
This commit is contained in:
@@ -40,8 +40,8 @@ if (! defined('ADODB_DATE_VERSION')) include_once(DOL_DOCUMENT_ROOT."/includes/a
|
||||
/**
|
||||
* Return value of a param into get or post variable
|
||||
* @param paramname Name of parameter to found
|
||||
* @param check Type of check (security)
|
||||
* @param type Type of variable (0 = get or post, 1 = only get, 2 = only post)
|
||||
* @param check Type of check
|
||||
* @param type Type of method (0 = get or post, 1 = only get, 2 = only post)
|
||||
* @return string Value found
|
||||
*/
|
||||
function GETPOST($paramname,$check='',$type=0)
|
||||
|
||||
Reference in New Issue
Block a user