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

Layout meta CSRF token needs to be https aware now

    XMLWordPrintable

Details

    Description

      After https://github.com/symfony/symfony/releases/tag/v3.3.13 the token in the session is name spaces with https when https in use.

      The layout needs to be aware of this now this will not work.

      <meta name="CSRF-Token" content="{{ app.session.get('_csrf/authenticate') }}" />

      And in the case of https is should be

      <meta name="CSRF-Token" content="{{ app.session.get('_csrf/https-authenticate') }}" />

      Attachments

        Activity

          People

            Unassigned Unassigned
            feb52ca2-9206-4fa9-818f-2c4dcf3f42b0@accounts.ibexa.co Douglas Hammond
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: