From 60c43eb105b192456f6b14e46055a9dc717ffb55 Mon Sep 17 00:00:00 2001 From: Cassio de Campos Date: Mon, 31 Jul 2017 20:44:13 +0100 Subject: sanitising --- src/globals.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/globals.php b/src/globals.php index 8b7bfb0..2e4655f 100755 --- a/src/globals.php +++ b/src/globals.php @@ -109,6 +109,10 @@ function sanitizeText($text, $doamp=true) } function sanitizeFilename($text) { + $text = str_replace("$", "", $text); + $text = str_replace(")", "", $text); + $text = str_replace("(", "", $text); + $text = str_replace(";", "", $text); $text = str_replace("&", "", $text); $text = str_replace("<", "", $text); $text = str_replace(">", "", $text); -- cgit v1.2.3