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

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

        Activity

        Hide
        Katarzyna Zawada added a comment -

        QA Approved on eZ Platform v2.4.0 with diff

        Show
        Katarzyna Zawada added a comment - QA Approved on eZ Platform v2.4.0 with diff
        Show
        Katarzyna Zawada added a comment - Merged to 7.4: https://github.com/ezsystems/ezpublish-kernel/commit/6d078c5384e1c5b747bea891b52346a3ec5b08c0

          People

          • Assignee:
            Unassigned
            Reporter:
            Mateusz Bieniek
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: