From 7599cb89f649be5685d05a409ab216c7b183feef Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Mon, 6 Nov 2023 16:33:59 +0100 Subject: $_FILES contains original file names with possibly invalid utf8 --- it.class | 1 + 1 file changed, 1 insertion(+) (limited to 'it.class') 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]); -- cgit v1.2.3