-
Notifications
You must be signed in to change notification settings - Fork 9.4k
39707 [GraphQl] Route query infinite loop #39708
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?
39707 [GraphQl] Route query infinite loop #39708
Conversation
Hi @rybkinevg. 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 |
@magento run all tests |
@magento run Static Tests, Functional Tests B2B |
@magento run all tests |
@magento run Static Tests, Functional Tests B2B |
@magento run all tests |
@magento run all tests |
@magento run all tests |
@magento run Functional Tests CE, Functional Tests EE |
Description (*)
When URL rewrite has the same values for
request_path
andtarget_path
it falls down into an infinite loop, so in this PR added condition to break the loop to prevent such situations.The problem is in this code snippet:
Related Pull Requests
...
Fixed Issues (if relevant)
Manual testing scenarios (*)
Go to
Magento Admin
->Marketing
->SEO & Search
->URL Rewrites
Create a new URL rewrite via
Add URL Rewrite
with following values:Custom
test
test
Send the following
GraphQl
query:Questions or comments
...
Contribution checklist (*)