diff options
author | Urban Müller | 2023-11-06 16:33:59 +0100 |
---|---|---|
committer | Urban Müller | 2023-11-06 16:33:59 +0100 |
commit | 7599cb89f649be5685d05a409ab216c7b183feef (patch) | |
tree | 86979eb326fdeb72dcc23bdbd6bac560165b9061 | |
parent | df0fa00315858eb92dff0bb1d9669ded0e703eb2 (diff) | |
download | itools-7599cb89f649be5685d05a409ab216c7b183feef.tar.gz itools-7599cb89f649be5685d05a409ab216c7b183feef.tar.bz2 itools-7599cb89f649be5685d05a409ab216c7b183feef.zip |
$_FILES contains original file names with possibly invalid utf8
-rw-r--r-- | it.class | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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]); |