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

[2.3-develop] X-Magento-Tags header containing whitespaces causes exception #11849

Merged
merged 1 commit into from
Nov 2, 2017

Conversation

ihor-sviziev
Copy link
Contributor

@ihor-sviziev ihor-sviziev commented Oct 29, 2017

Description

When the header X-Magento-Tags contains whitespaces, an Zend\Http\Header\Exception\InvalidArgumentException is being thrown when the full page cache is enabled. Block IDs can contain whitespaces due to reformatting in layout XML files, because of the 80 character line length limit.

(cherry picked from commit 026da5a)
Backport of #11767 to 2.3-develop

Fixed Issues (if relevant)

  1. X-Magento-Tags header containing whitespaces causes exception #7640: X-Magento-Tags header containing whitespaces causes exception

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

@magento-cicd2
Copy link
Contributor

magento-cicd2 commented Oct 29, 2017

CLA assistant check
All committers have signed the CLA.

@ihor-sviziev ihor-sviziev changed the base branch from 2.2-develop to 2.3-develop October 29, 2017 17:55
@ihor-sviziev ihor-sviziev reopened this Oct 29, 2017
@ihor-sviziev
Copy link
Contributor Author

@ishakhsuvarov original PR was processed by you, could you review this PR?

@ishakhsuvarov ishakhsuvarov self-assigned this Oct 30, 2017
@ishakhsuvarov ishakhsuvarov added this to the October 2017 milestone Oct 30, 2017
@ishakhsuvarov ishakhsuvarov added Release Line: 2.3 2.2.x bug report Component: Framework/Cache Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release labels Oct 30, 2017
@okorshenko okorshenko modified the milestones: October 2017, November 2017 Nov 1, 2017
@magento-team magento-team merged commit fce4672 into magento:2.3-develop Nov 2, 2017
magento-team pushed a commit that referenced this pull request Nov 2, 2017
magento-team pushed a commit that referenced this pull request Nov 2, 2017
[EngCom] Public Pull Requests - develop
 - MAGETWO-83154: [2.3-develop] Order grid - Sort by Purchase Date Desc by default #11931
 - MAGETWO-83101: [Backport 2.3-develop] #8236 FIX CMS blocks #11805
 - MAGETWO-83092: Remove unneeded, also mistyped, saveHandler from CatalogSearch indexer declaration #11626
 - MAGETWO-83091: Remove "Undefined fields" from under lib folder #11662
 - MAGETWO-83083: 10195: Order relation child is not set during edit operation #11909
 - MAGETWO-82998: [2.3-develop] X-Magento-Tags header containing whitespaces causes exception #11849
 - MAGETWO-82633: #11409: Too many password reset requests even when disabled in settings #11434
@ihor-sviziev ihor-sviziev deleted the patch-13 branch February 2, 2018 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Component: Framework/Cache Progress: accept Release Line: 2.3 Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants