Details
-
Bug
-
Resolution: Fixed
-
High
-
2.4.2
-
None
Description
Accessing some invalid links will result in 500 error instead of 404.
Steps to reproduce
1. Clean installation of eZ Platform 2.4
2. Use wget to access:
wget 'http://<your_project_host>/\'
Result
500 error and in logs:
request.CRITICAL: Uncaught PHP Exception Symfony\Component\Cache\Exception\InvalidArgumentException: "Cache key "ez-urlAlias-url-\" contains reserved characters {}()/@:" at /home/bulbo/www/ezplatform-2.4.2/vendor/symfony/symfony/src/Symfony/Component/Cache/CacheItem.php line 162 {"exception":"[object] (Symfony\\Component\\Cache\\Exception
InvalidArgumentException(code: 0): Cache key \"ez-urlAlias-url-\\\" contains reserved characters {}()/
@: at /home/bulbo/www/ezplatform-2.4.2/vendor/symfony/symfony/src/Symfony/Component/Cache/CacheItem.php:162)"}