Details
Description
Requests of content/download lead to error with status code 500
php.CRITICAL: Uncaught Error: Argument 1 passed to str_contains() must be of the type string, null given, called in .../vendor/symfony/http-kernel/HttpCache/Esi.php on line 40 {"exception":"[object] (TypeError(code: 0): Argument 1 passed to str_contains() must be of the type string, null given, called in .../vendor/symfony/http-kernel/HttpCache/Esi.php on line 40 at .../vendor/symfony/polyfill-php80/bootstrap.php:29)"} request.CRITICAL: Uncaught PHP Exception TypeError: "Argument 1 passed to str_contains() must be of the type string, null given, called in .../vendor/symfony/http-kernel/HttpCache/Esi.php on line 40" at .../vendor/symfony/polyfill-php80/bootstrap.php line 29 {"exception":"[object] (TypeError(code: 0): Argument 1 passed to str_contains() must be of the type string, null given, called in .../vendor/symfony/http-kernel/HttpCache/Esi.php on line 40 at .../vendor/symfony/polyfill-php80/bootstrap.php:29)"}
This error occurs since symfony/http-kernel 5.3.4 / 5.2.12.
Seems like this is the crucial commit ( https://github.com/symfony/http-kernel/commit/882946ca24631ae97b2f13148866da19a32e0b4f )