Patch level : 12.0 984

Files correlati     : f90.exe
Commento            : Corretta query per fppro
This commit is contained in:
Simone Palacino 2020-07-28 11:30:04 +02:00
parent fb9f970441
commit 5c42f6006b
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ bool TFppro::sql_inj(const keys_s& keys)
str.add(keys.prginvio);
str.add(keys.headerfatt);
str.add(keys.bodyfatt);
return sql_inj(str) || str.contains("'") || str.contains("\\");
return sql_inj(str);
}
bool TFppro::check_reg(TToken_string& keys, int numreg)

View File

@ -34,7 +34,7 @@ typedef struct _prot_s
/** \class TFppro
* Tutti i metodi che settano le chiavi, possono fallire principalmente per due motivi:
* 1) Possbile SQL Injection;
* 1) Possibile SQL Injection;
* 2) Chiavi settate non valide (una delle tre e' vuota).
*/
class TFppro : public TObject