diff options
author | Urban Müller | 2025-10-03 14:33:04 +0200 |
---|---|---|
committer | Urban Müller | 2025-10-03 14:33:04 +0200 |
commit | 76f18b1cf62d04ae335a476ae241499f24b73fdc (patch) | |
tree | a67fe572ee8665407607cd74c1552b34a910e487 /it.class | |
parent | 8ff8b9aa50b5e2ac7a7cd1d872f4718facb4d9ae (diff) | |
download | itools-76f18b1cf62d04ae335a476ae241499f24b73fdc.tar.gz itools-76f18b1cf62d04ae335a476ae241499f24b73fdc.tar.bz2 itools-76f18b1cf62d04ae335a476ae241499f24b73fdc.zip |
fix invalid utf8 in HTTP_ACCEPT (mail5151)
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1366,7 +1366,7 @@ static function params2utf8() $_COOKIE = it::any2utf8($_COOKIE); $_FILES = it::any2utf8($_FILES); - foreach (['PHP_SELF', 'SCRIPT_NAME', 'SCRIPT_URL', 'SCRIPT_URI', 'HTTP_USER_AGENT'] as $var) + foreach (['PHP_SELF', 'SCRIPT_NAME', 'SCRIPT_URL', 'SCRIPT_URI', 'HTTP_USER_AGENT', 'HTTP_ACCEPT'] as $var) $_SERVER[$var] = it::any2utf8($_SERVER[$var]); $urlfix = function($m) { return urlencode(it::any2utf8(urldecode($m[0]))); }; # NOPHPLINT |