[Issue] User is not redirected when use_store is enabled and path is empty #38625
Labels
Issue: needs update
Additional information is require, waiting for response
Issue: ready for confirmation
Priority: P3
May be fixed according to the position in the backlog.
Progress: PR in progress
Reported on 2.4.x
Indicates original Magento version for the Issue report.
Projects
This issue is automatically created based on existing pull request: #38616: User is not redirected when use_store is enabled and path is empty
Description (*)
When the setting use store code in url is enabled, and the setting redirect to base url is enabled, the end-user is not redirected to base url with store code in path if the request url has an empty path. It's because in the store::baseUrl method, the web type doesn't add the store code, while link type does.
Related Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
Questions or comments
Contribution checklist (*)
The text was updated successfully, but these errors were encountered: