-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Since Magento 2.3 the wysiwyg image uploader incorrectly uses pub/media as storage root. #22609
Comments
Hi @hostep. 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:
For more details, please, review the Magento Contributor Assistant documentation. @hostep 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.
|
@engcom-backlog-nazar Thank you for verifying the issue. Unfortunately, not enough information was provided to acknowledge ticket. Please consider adding the following:
Once all required information is added, please add label |
✅ Confirmed by @engcom-backlog-nazar Issue Available: @engcom-backlog-nazar, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself. |
I am working on this at #dmcdindia19 |
Hi @vishal-7037. Thank you for working on this issue.
|
Hi @Eayshwary. Thank you for working on this issue.
|
This issue is reproducible on version 2.2.9. |
I think this commit has changed the root folder: a270b5b#diff-624b27794e761bd53831eba1ede517bcR74 |
I've left some more findings of this problem in #22681 (comment) I think the biggest problem is that if the But I still feel like the root of tree itself should also be set to the |
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
pub/media/wysiwyg
Actual result (*)
pub/media
Discussion
I think this is incorrect in Magento 2.3.x, as it would allow non-technical users to delete/change files they probably shouldn't touch. For example I was perfectly able to just remove the
pub/media/catalog
directory using this interface, which is not a really good idea ...The text was updated successfully, but these errors were encountered: