Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-30365

Accessing some invalid links will result in 500 error instead of 404

    XMLWordPrintable

Details

    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)"}

      Attachments

        Activity

          People

            Unassigned Unassigned
            mateusz.bieniek@ibexa.co Mateusz Bieniek
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: