-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Remove recursion in location of static files. #30883
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
Remove recursion in location of static files. #30883
Conversation
Hi @edspc. 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 |
Hi @edspc, thank you for your contribution! |
Hi @edspc. 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. |
@magento create issue |
@magento run all tests |
@magento run all tests |
Hi @ihor-sviziev, thank you for the review.
|
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.
Hi @edspc I am not able to reproduce issue described by PR on 2.4-develop
Manual testing scenario:
-
Install magento
-
Try to open URL like [MAGE_URL]/static/version-example/, in my case -
http://magento2dev.loc/static/version1611070641/
Result:
✔️ Page 404 error: Page not found.
is shown
Note: If try to open URL like [MAGE_URL]/static/version-example
without ending slash, 500 error is shown
Same behavior is with PR changes
Could take a look and correct me if I am wrong?
Note: Functional Tests CE and Functional Tests EE are failed |
@engcom-Delta, now tests are passing. Can we move it to the "accept" column? |
Note: No needs any update: PR was added to regression scope |
Note: Automation tests are passed |
Hi @edspc, thank you for your contribution! |
Description (*)
The default NGINX config contains a possible bug in location
static
, that leads to infinite recursion.This PR remove it.
Manual testing scenarios (*)
Expected: 404 page
Actual: 500 error
Contribution checklist (*)
Resolved issues: