-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
errors/local.xml and error page templates are publicly accessible #20209
Comments
Hi @schmengler. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
where @schmengler do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
Hi @engcom-backlog-nazar. Thank you for working on this issue.
|
@magento-engcom-team give me 2.3.0 instance |
Hi @schmengler. Thank you for your request. I'm working on Magento 2.3.0 instance for you |
Hi @schmengler, here is your Magento instance. |
hi @schmengler did you configure docroot to pub ? |
@engcom-backlog-nazar yes, I should have mentioned it, sorry. In the instance above it seems not to be the case, but I can access for example: https://i-20209-2-3-0.instances.magento-community.engineering/pub/errors/local.xml.sample local.xml does not exist on vanilla instance and PHTML files seem to be parsed as PHP, so for example https://i-20209-2-3-0.instances.magento-community.engineering/pub/errors/page.phtml results in
it terminates with an error at |
@engcom-backlog-nazar Thank you for verifying the issue. Based on the provided information internal tickets |
Hi @schmengler. Thank you for your report. The fix will be available with the upcoming 2.3.2 release. |
Hi @schmengler. Thank you for your report. The fix will be available with the upcoming 2.2.9 release. |
Preconditions (*)
All current Magento 2 versions:
Using default apache or nginx configuration with
pub
as doc rootSteps to reproduce (*)
For PHTML files:
For local.xml:
Expected result (*)
Actual result (*)
The text was updated successfully, but these errors were encountered: