From 126a49185229f248eae8c485b3e16e029ebcb353 Mon Sep 17 00:00:00 2001 From: polo Date: Fri, 23 Oct 2026 23:29:59 +0200 Subject: =?UTF-8?q?audit=20claude=20code=201,=20validation=20formulaire=20?= =?UTF-8?q?toujours=20ok,=20=C3=A9chappement=20dans=20URL,=20quelques=20ht?= =?UTF-8?q?mlspecialchars=20manquants,=20fonction=20Security::validateURL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Service/FormValidation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Service/FormValidation.php') diff --git a/src/Service/FormValidation.php b/src/Service/FormValidation.php index d91aa12..9f4564f 100644 --- a/src/Service/FormValidation.php +++ b/src/Service/FormValidation.php @@ -46,7 +46,7 @@ class FormValidation public function validate(): bool { $this->error = ($this->callStrategy)(); // appel de la callback - return empty($this->errors); + return $this->error === null; } public function getError(): string -- cgit v1.2.3