aboutsummaryrefslogtreecommitdiff
path: root/src/globals.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/globals.php')
-rwxr-xr-xsrc/globals.php5
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');