Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed ESI parsing error with turpentine #2682

Merged
merged 1 commit into from
Nov 7, 2022
Merged

Fixed ESI parsing error with turpentine #2682

merged 1 commit into from
Nov 7, 2022

Conversation

luigifab
Copy link
Contributor

@luigifab luigifab commented Nov 6, 2022

Description

With Nexcess Magento Turpentine for Varnish, sometimes there is a strange bug with ESI processing (ESI is not processed).

Example: window.location='https://.../fr/customer/address/delete/form_key/<esi:include src='http://.../fr/turpentine/esi/getFormKey/ttl/86400/method/esi/scope/global/access/private/' />/id/'+addressId;

The solution is to invert ' and ".

OpenMage 20.0.16 / PHP 8.0.25

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All automated tests passed successfully (all builds are green)

@github-actions github-actions bot added Component: Customer Relates to Mage_Customer Template : base Relates to base template labels Nov 6, 2022
@fballiano fballiano merged commit 6d0bfcf into OpenMage:1.9.4.x Nov 7, 2022
@luigifab luigifab deleted the esi-varnish branch November 7, 2022 09:58
@luigifab luigifab changed the title Fix esi parsing with turpentine Fixed ESI parsing error with turpentine Apr 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Customer Relates to Mage_Customer Template : base Relates to base template
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants