Un gros problème dans la démo.
Si j'essaye de changer le nom d'une fiche par un nom avec une apostrophe, je prends un vilain :
"Warning: pg_query() [function.pg-query]: Query failed: ERROR: syntax error at or near "sdfqsdf" at character 43 in /var/www/phpcompta/demo/include/postgres.php on line 104
Operation cancelled due to error : update fiche_def set fd_label='fsdqfsdf'sdfqsdf' where fd_id=4"
A mon avis le code est fait pour tourner avec le magic_quotes allumé (bearkkk) et il ne l'est pas sur la machine de démo...
Ca fait quand même un méchant trou pour l'injection SQL....
# Hum
Posté par Laurent DELAGE . En réponse à la dépêche Sortie de PhpCompta 2.0.0. Évalué à 9.
Si j'essaye de changer le nom d'une fiche par un nom avec une apostrophe, je prends un vilain :
"Warning: pg_query() [function.pg-query]: Query failed: ERROR: syntax error at or near "sdfqsdf" at character 43 in /var/www/phpcompta/demo/include/postgres.php on line 104
Operation cancelled due to error : update fiche_def set fd_label='fsdqfsdf'sdfqsdf' where fd_id=4"
A mon avis le code est fait pour tourner avec le magic_quotes allumé (bearkkk) et il ne l'est pas sur la machine de démo...
Ca fait quand même un méchant trou pour l'injection SQL....
Sinon beau boulot bon courage !