When using fosckeditor integration with symfony 6.x, the 'restrict' config cause a BadRequestException when the value is an array.
Symfony\Component\HttpFoundation\Exception\BadRequestException:
Input value "restrict" contains a non-scalar value.
The $request->query->get('restrict') doesn't accept array type as it was deprecated in 5.x and removed in 6.0.
$request->query->all('restrict') should be used instead.
When using fosckeditor integration with symfony 6.x, the 'restrict' config cause a BadRequestException when the value is an array.
The $request->query->get('restrict') doesn't accept array type as it was deprecated in 5.x and removed in 6.0. $request->query->all('restrict') should be used instead.
See : https://github.com/symfony/symfony/pull/41766#issuecomment-865083005