Closed
Description
Symfony version(s) affected: symfony/http-foundation:5.2.0
Description
The new code fails to parse more complex query parameters like:
filter[&&][==][product.code]=demo
which is sent as:
filter[%26%26][%3D%3D][product.code]=demo
The result is something like:
[]] => Array
(
[0] => =][product.code]=demo
)
which is invalid and hex2bin() then reports:
hex2bin(): Hexadecimal input string must have an even length
Possible Solution
The problem is the custom parseQuery() method which fails to parse such input correctly:
The PHP parse_str() method used in v5.1.9 works fine.