2
0
forked from Wavyzz/dolibarr

Fix: XSS injection

This commit is contained in:
Regis Houssin
2010-11-10 22:18:50 +00:00
parent 263cfa1100
commit 019386bc36

View File

@@ -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)