Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-3499

ezplatform-http-cache-fastly returns /_fos_user_context_hash on origin redirects

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 3.3.2, 2.5.18, 3.2.6, 1.13.7
    • None
    • eZ Platform Cloud
    • This is a ezsystems/ezplatform-http-cache-fastly (so Fastly only) issue; I can reproduce with at least v1.1.3 but as I don't have access to the repository, I cannot be sure which versions are affected exactly.

    Description

      Hello,

       

      When the origin sends a redirect through Fastly (at least on a 301), the x-user-context-hash part of the VCL prevents the redirect from being correct; it is always returned as

      'location: https://newdomaingoeshere/_fos_user_context_hash'

      I attached a proposed patch to ez_main.vcl that I think fixes the issue (for at least two different customers).

       

      Best,

      Lucas

      Attachments

        Activity

          People

            Unassigned Unassigned
            01c8ef09-6905-4b89-8530-3fa408372db3@accounts.ibexa.co Lucas Stil
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: