diff options
| author | Cassio de Campos <cassiopc@gmail.com> | 2017-07-31 19:44:13 +0000 |
|---|---|---|
| committer | Cassio de Campos <cassiopc@gmail.com> | 2017-07-31 19:44:13 +0000 |
| commit | 60c43eb105b192456f6b14e46055a9dc717ffb55 (patch) | |
| tree | 94f9c8c4a742f46f6a0b59540168c64ff33f2e04 /src | |
| parent | 59505338b2e78c411202f6486c197a83239972d5 (diff) | |
| download | boca-60c43eb105b192456f6b14e46055a9dc717ffb55.tar.gz boca-60c43eb105b192456f6b14e46055a9dc717ffb55.zip | |
sanitising
Diffstat (limited to 'src')
| -rwxr-xr-x | src/globals.php | 4 |
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); |