diff options
Diffstat (limited to 'src/globals.php')
| -rwxr-xr-x | src/globals.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/globals.php b/src/globals.php index 1d07ba1..b179bd5 100755 --- a/src/globals.php +++ b/src/globals.php @@ -108,6 +108,11 @@ function sanitizeText($text, $doamp=true) return $text; } +function unsanitizeText($text) { + $text = str_replace("&", "&", $text); + return $text; +} + array_walk_recursive($_FILES, 'sanitizeVariables'); array_walk_recursive($_POST, 'sanitizeVariables'); array_walk_recursive($_GET, 'sanitizeVariables'); |