diff options
| author | polo <ordipolo@gmx.fr> | 2025-06-24 02:02:44 +0200 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2025-06-24 02:02:44 +0200 |
| commit | 41adf94ebf868232aa43fe9b8b80029896da9da7 (patch) | |
| tree | 3c3842bd1d1830b68576d912cd506859f1dd5bef /src/controller/Security.php | |
| parent | ff2a45feb0080b89db8c6193306a4676705ea607 (diff) | |
| download | cms-41adf94ebf868232aa43fe9b8b80029896da9da7.tar.gz cms-41adf94ebf868232aa43fe9b8b80029896da9da7.tar.bz2 cms-41adf94ebf868232aa43fe9b8b80029896da9da7.zip | |
saisie sécurisée
Diffstat (limited to 'src/controller/Security.php')
| -rw-r--r-- | src/controller/Security.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controller/Security.php b/src/controller/Security.php index cd31cb8..b882d42 100644 --- a/src/controller/Security.php +++ b/src/controller/Security.php | |||
| @@ -22,7 +22,7 @@ class Security | |||
| 22 | // ATTENTION, n'applique pas htmlspecialchars() !! | 22 | // ATTENTION, n'applique pas htmlspecialchars() !! |
| 23 | public static function secureString(string $chaine): string | 23 | public static function secureString(string $chaine): string |
| 24 | { | 24 | { |
| 25 | return trim(htmLawed($chaine, self::$configHtmLawed, self::$specHtmLawed));; | 25 | return trim(htmLawed($chaine, self::$configHtmLawed, self::$specHtmLawed)); |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | public static function secureFileName(string $chaine): string | 28 | public static function secureFileName(string $chaine): string |
