Skip to content

images added with WYSIWYG in category description are uploaded into admin-directory #7393

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

Closed
emil-777 opened this issue Nov 10, 2016 · 3 comments
Labels
Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development

Comments

@emil-777
Copy link

Preconditions

  1. PHP 7
  2. Magento 2.1.2

Steps to reproduce

When I'm uploading an image with the WYSIWYG-editor for the category description, the image is uploaded - and its' path which is used in the src-attribute of img-tag to the admin directory (domain.com/admin_veuCvtf/...).
I assume it has to be located in pub/media./.. directory. Otherwise the name of the backend login is disclosed.

Expected result

The uploaded image is located in /pub/media/... directory.

Actual result

In the img-src-tag the file is located in domain.com/admin_veuCvtf/.. directory.

@devhn
Copy link

devhn commented Nov 10, 2016

Similar to #6138?

@emil-777
Copy link
Author

yes, seems to be similar

@magento-team
Copy link
Contributor

Internal ticket to track issue progress: MAGETWO-70435

magento-devops-reposync-svc pushed a commit that referenced this issue Jan 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development
Projects
None yet
Development

No branches or pull requests

3 participants