summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
authorUrban Müller2023-11-06 16:33:59 +0100
committerUrban Müller2023-11-06 16:33:59 +0100
commit7599cb89f649be5685d05a409ab216c7b183feef (patch)
tree86979eb326fdeb72dcc23bdbd6bac560165b9061 /it.class
parentdf0fa00315858eb92dff0bb1d9669ded0e703eb2 (diff)
downloaditools-7599cb89f649be5685d05a409ab216c7b183feef.tar.gz
itools-7599cb89f649be5685d05a409ab216c7b183feef.tar.bz2
itools-7599cb89f649be5685d05a409ab216c7b183feef.zip
$_FILES contains original file names with possibly invalid utf8
Diffstat (limited to 'it.class')
-rw-r--r--it.class1
1 files changed, 1 insertions, 0 deletions
diff --git a/it.class b/it.class
index 20597bf..f5d9f2b 100644
--- a/it.class
+++ b/it.class
@@ -1338,6 +1338,7 @@ static function params2utf8()
$_REQUEST = it::any2utf8($_REQUEST);
$_POST = it::any2utf8($_POST);
$_COOKIE = it::any2utf8($_COOKIE);
+ $_FILES = it::any2utf8($_FILES);
foreach (['PHP_SELF', 'SCRIPT_NAME', 'SCRIPT_URL', 'SCRIPT_URI', 'HTTP_USER_AGENT'] as $var)
$_SERVER[$var] = it::any2utf8($_SERVER[$var]);