From 53450c81caf7a6899bf23c85d76c811084a3d9ef Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Tue, 21 Dec 2004 00:38:28 +0000 Subject: [PATCH] r6: Changed sanitize as STR_NOHTML to run the variable through htmlspecialcharslike() instead of just htmlspecialchars(). --- includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/functions.php b/includes/functions.php index e80e677..703b541 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -62,7 +62,7 @@ function sanitize($toclean) break; case 'STR_NOHTML': - $cleaned = htmlspecialchars(trim($varvalue)); + $cleaned = htmlspecialcharslike(trim($varvalue)); break; case 'INT': -- 2.43.5