aboutsummaryrefslogtreecommitdiff
path: root/src/globals.php
diff options
context:
space:
mode:
authorCassio de Campos <cassiopc@gmail.com>2017-08-01 07:22:00 +0000
committerCassio de Campos <cassiopc@gmail.com>2017-08-01 07:22:00 +0000
commite1b61094597488dcb3ef166013186b07bf379d76 (patch)
treef01e30e7bfd717cb50cd889e0819f8624c6df59d /src/globals.php
parent60c43eb105b192456f6b14e46055a9dc717ffb55 (diff)
downloadboca-e1b61094597488dcb3ef166013186b07bf379d76.tar.gz
boca-e1b61094597488dcb3ef166013186b07bf379d76.zip
timeout and sanitizing
Diffstat (limited to 'src/globals.php')
-rwxr-xr-xsrc/globals.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/globals.php b/src/globals.php
index 2e4655f..1936ad1 100755
--- a/src/globals.php
+++ b/src/globals.php
@@ -109,6 +109,7 @@ function sanitizeText($text, $doamp=true)
}
function sanitizeFilename($text)
{
+ $text = str_replace("*", "", $text);
$text = str_replace("$", "", $text);
$text = str_replace(")", "", $text);
$text = str_replace("(", "", $text);