2
0
forked from Wavyzz/dolibarr
This commit is contained in:
ldestailleur
2025-07-24 11:00:42 +02:00
parent 0187d1fcfc
commit 6a18353eb0
6 changed files with 22 additions and 21 deletions

View File

@@ -834,7 +834,7 @@ function GETPOSTISARRAY($paramname, $method = 0)
* 'alphawithlgt'=alpha with lgt
* 'alphanohtml'=check there is no html content and no " and no ../
* 'aZ'=check it's a-z only
* 'aZ09'=check it's simple alpha string (recommended for keys)
* 'aZ09'=check it's simple alpha string (recommended for keys, it includes a-z0-9_\-\.)
* 'aZ09arobase'=check it's a string for an element type ('myobject@mymodule')
* 'aZ09comma'=check it's a string for a sortfield or sortorder
* 'san_alpha'=Use filter_var with FILTER_SANITIZE_STRING (do not use this for free text string)