aboutsummaryrefslogtreecommitdiff
path: root/src/globals.php
diff options
context:
space:
mode:
authorCassio de Campos <cassiopc@gmail.com>2017-07-31 19:44:13 +0000
committerCassio de Campos <cassiopc@gmail.com>2017-07-31 19:44:13 +0000
commit60c43eb105b192456f6b14e46055a9dc717ffb55 (patch)
tree94f9c8c4a742f46f6a0b59540168c64ff33f2e04 /src/globals.php
parent59505338b2e78c411202f6486c197a83239972d5 (diff)
downloadboca-60c43eb105b192456f6b14e46055a9dc717ffb55.tar.gz
boca-60c43eb105b192456f6b14e46055a9dc717ffb55.zip
sanitising
Diffstat (limited to 'src/globals.php')
-rwxr-xr-xsrc/globals.php4
1 files changed, 4 insertions, 0 deletions
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);