-
Notifications
You must be signed in to change notification settings - Fork 9.4k
#39353 Added sanitization of address fields for the presence of template variables in the customer address #39673
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
base: 2.4-develop
Are you sure you want to change the base?
Conversation
… in the user address
Hi @rostilos. 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. |
…-vars-in-customer-addr
@magento run all tests |
…plate-vars-in-customer-addr' into fix-for-issue-39353-validate-template-vars-in-customer-addr
@magento run all tests |
…plate-vars-in-customer-addr' into fix-for-issue-39353-validate-template-vars-in-customer-addr
@magento run all tests |
@magento run all tests |
@magento run all tests |
Pull Requests are not mergeable to the mainline. Please merge the latest mainlines to your Pull Requests and restart the builds. |
…te-template-vars-in-customer-addr # Conflicts: # app/code/Magento/Customer/etc/di.xml
@magento run all tests |
@magento run Functional Tests EE, Functional Tests B2B, Functional Tests CE |
…-vars-in-customer-addr
@magento run all tests |
@magento run Functional Tests B2B, Functional Tests EE, Functional Tests CE, Integration Tests, Unit 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.
Hello @rostilos,
Thanks for the contribution!
The changes seems good to us, but please address the below review suggestions.
Thanks
app/code/Magento/Customer/Model/ResourceModel/AddressRepository.php
Outdated
Show resolved
Hide resolved
Co-authored-by: Abhinav Pathak <51681618+engcom-Hotel@users.noreply.github.com>
…-vars-in-customer-addr
@engcom-Hotel added requested edits |
@magento run all tests |
…-vars-in-customer-addr
@magento run all tests |
Hi @rostilos, Thanks for the collaboration & contribution! ✔️ QA PassedPreconditions:
Steps to reproduce
Before: ✖️ ![]() After: ✔️ ![]() Builds are failed. Hence, moving this PR to Extended Testing. Thanks. |
…-vars-in-customer-addr
@magento run all tests |
@magento run Functional Tests B2B, Functional Tests CE, Unit Tests, Semantic Version Checker |
The Functional B2B Test Failures are inconsistent and seems to be flaky. The failures neither related to PR nor part of the PR. Build 1: Allure Report - B2B Build 2 : Allure Report - B2B The Functional CE Test Failures are inconsistent and seems to be flaky. The failures neither related to PR nor part of the PR. Build 1: Allure Report - CE Build 2: Allure Report - CE |
@magento run Semantic Version Checker |
Raised internal approval JIRA for the SVC failure. Moving this PR to Pending Approval now. We will proceed ahead on this once will get all the required approvals. ![]() |
Doesn't this try to fix the same problem as #38345 fixed? That last one already got included in Magento 2.4.8. Correct me if I'm wrong. Just trying to prevent us fixing the same problem in 2 different ways. |
@hostep @engcom-Hotel |
Description (*)
Added sanitize for address fields. Added for abstract address model class to avoid template processor handling variables specified directly in the address.
{{ template_var }} -> {{ template_var }}
Related Pull Requests
Fixed Issues (if relevant)
\Magento\Framework\Filter\Template
cannot deal with improper input #39353Manual testing scenarios (*)
Questions or comments
Contribution checklist (*)