-
Notifications
You must be signed in to change notification settings - Fork 9.4k
magento/magento2#38933: Putting csp_whitelist.xml in theme does not work and creates intermittent issue #38933 #39672
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
magento/magento2#38933: Putting csp_whitelist.xml in theme does not work and creates intermittent issue #38933 #39672
Conversation
…reates intermittent issue - Implemented caching of CSP whitelist per website area.
Hi @NitrogenUA. Thank you for your contribution!
Allowed build names are:
You can find more information about the builds here For more details, review the Code Contributions documentation. |
@magento run all tests |
…reates intermittent issue - Updated copyright notice.
@magento run all tests |
@magento run Functional Tests B2B, Integration Tests |
@magento run Functional Tests B2B, Integration Tests |
As the PR shows as draft in status, hence moving it to hold bucket. @NitrogenUA Please let us know when the PR is ready for review. |
@engcom-Hotel PR is ready for review. |
@magento run all tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
app/code/Magento/Csp/Model/Collector/CspWhitelistXml/FileResolver.php
Outdated
Show resolved
Hide resolved
…ver.php Co-authored-by: Abhinav Pathak <51681618+engcom-Hotel@users.noreply.github.com>
@magento run all tests |
@magento run all tests |
@magento run all tests |
HI @NitrogenUA Thanks for the collaboration & contribution! ✔️ QA PassedPreconditions:
Steps to reproduce
Before: ❌ PR-39672-before_1.mp4After ✔️ PR-39672-After_1.mp4Builds are failed hence moving this PR for Extended Testing. Thanks! |
@magento run Functional Tests B2B, Functional Tests CE |
Test failures for Functional B2B are inconsistent and seems to be flaky. They neither part of PR nor failing because of the PR changes. Test failures for Functional CE are inconsistent and seems to be flaky. They neither part of PR nor failing because of the PR changes. Hence moving this PR in Merge In Progress. |
0c70667
into
magento:2.4-develop
Description (*)
Fixed Issues (if relevant)
Manual testing scenarios (*)
Expected result
Magento 2 storefront CSP whitelist is applied even if admin area was accessed first after the cache reset.
Contribution checklist (*)