Fix: XSS injection
This commit is contained in:
parent
263cfa1100
commit
019386bc36
@ -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
|
* Return value of a param into get or post variable
|
||||||
* @param paramname Name of parameter to found
|
* @param paramname Name of parameter to found
|
||||||
* @param check Type of check (security)
|
* @param check Type of check
|
||||||
* @param type Type of variable (0 = get or post, 1 = only get, 2 = only post)
|
* @param type Type of method (0 = get or post, 1 = only get, 2 = only post)
|
||||||
* @return string Value found
|
* @return string Value found
|
||||||
*/
|
*/
|
||||||
function GETPOST($paramname,$check='',$type=0)
|
function GETPOST($paramname,$check='',$type=0)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user