This repository was archived by the owner on Feb 21, 2025. It is now read-only.

Description
this issue is encountered with $_FILES and $_COOKIE
reproduce :
$_FILES :
$_FILES = [
'slide-shows' => [
'tmp_name' => [
// Note: Nesting *under* tmp_name/etc
0 => ['slides' => [0 => __FILE__, 1 => __FILE__]],
],
'error' => [0 => ['slides' => [0 => 0, 1 => 0]]],
'name' => [0 => ['slides' => [0 => 'foo.txt', 1 => 'bar.txt']]],
'size' => [0 => ['slides' => [0 => 123, 1 => 200]]],
'type' => [0 => ['slides' => [0 => 'text/plain', 1 => 'text/plain']]],
],
];
$_COOKIE :
$_COOKIE = [
'foo' => ['bar', 'bar' => 'baz', 'qux' => 'dux'],
'bar' => ['bar' => ['baz' => ['qux' => 'dux']]]
];
see : https://github.com/azjezz/http-normalizer#normalize