-
Notifications
You must be signed in to change notification settings - Fork 9.4k
fix: avoid direct access to reviews list AJAX #33876
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
Good evening, Do not know wether it is intentional, But you can access directly to the reviews list Ajax controller You can give it a try : /review/product/listAjax/id/111111616 => Display the raw output in the browser. Why not restrain this page to Ajax only. Give me your think, Ilan Parmentier
Hi @mageho. Thank you for your contribution
❗ Automated tests can be triggered manually with an appropriate comment:
You can find more information about the builds here ℹ️ Please run only needed test builds instead of all when developing. Please run all test builds before sending your PR for review. For more details, please, review the Magento Contributor Guide documentation. 🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of Pull Requests happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket. 🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
@magento give me test instance |
Hi @mageho. Thank you for your request. I'm working on Magento instance for you. |
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
Hi @mageho, here is your Magento Instance: https://acd0f0eabc1b4ed373cab5920b6e8853.instances.magento-community.engineering |
@mageho thank you for your contribution! Indeed, this action can be accessed directly and if indexed by search engines, it may contribute to bad user experience. I had one change request though - please address it and I think we're good to go. |
@bgorski Hello there, I did the modification by following your advice. We must be good to go. have a nice weekend. |
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.
@mageho indeed we are - approving the PR. The next step is to wait for the core team to prioritize this and to perform manual testing.
Thank you for your contribution!
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
Hi @bgorski, thank you for the review.
|
@magento run Unit Tests, Functional Tests CE, Functional Tests B2B |
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues. |
@magento give me test instance |
Hi @engcom-Lima. Thank you for your request. I'm working on Magento instance for you. |
Hi @engcom-Lima, here is your Magento Instance: https://acd0f0eabc1b4ed373cab5920b6e8853.instances-prod.magento-community.engineering |
@magento create issue |
@magento run all tests |
@magento run Functional Tests B2B, Functional Tests CE, Functional Tests EE, Static Tests |
@magento run all tests |
@magento run Functional Tests B2B, Unit Tests |
Description (*)
Do not know wether it is intentional,
But you can access directly to the reviews list Ajax controller however all others controllers for Ajax URL has a conditional test in code.
Fixed Issues (if relevant)
Why not restrain this page to Ajax only
Manual testing scenarios
You can give it a try :
/review/product/listAjax/id/9999
=> Display the raw output in the browser.
(9999 = product if from store)
Questions or comments
Give me your think,
Ilan Parmentier
Contribution checklist (*)
Resolved issues: