Skip to content
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

Unable to upload some SVG files to "Images only" directory #1709

Closed
shbchk opened this issue Jan 12, 2022 · 8 comments · Fixed by #1724
Closed

Unable to upload some SVG files to "Images only" directory #1709

shbchk opened this issue Jan 12, 2022 · 8 comments · Fixed by #1724
Labels
Bug: Accepted Bug has been confirmed, is reproducible, and ready to work on.

Comments

@shbchk
Copy link

shbchk commented Jan 12, 2022

If in an Upload Directory settings I set Allowed file types to Images only, I won't be able to upload SVG file to this directory.

Since SVG is an image file, I believe it should be allowed.

@robsonsobral
Copy link
Contributor

@shbchk , which version of eecms are you using?

@shbchk
Copy link
Author

shbchk commented Jan 12, 2022

6.1.6

@robsonsobral
Copy link
Contributor

This merge should have fixed it.

@shbchk
Copy link
Author

shbchk commented Jan 12, 2022

Well...
error

@intoeetive
Copy link
Contributor

@shbchk can you send us the file you're trying to upload? Maybe it contains something that we did not consider and thus is not validating properly

@shbchk
Copy link
Author

shbchk commented Jan 13, 2022

Sure, for example: Annecy Festival logo

@intoeetive intoeetive changed the title SVG support for image files Unable to upload some SVG files to "Images only" directory Jan 14, 2022
@intoeetive intoeetive added the Bug: Accepted Bug has been confirmed, is reproducible, and ready to work on. label Jan 14, 2022
intoeetive added a commit that referenced this issue Jan 14, 2022
@chenchen2003
Copy link

I have the same issue with version 6.2.6.

@shbchk
Copy link
Author

shbchk commented Feb 23, 2022

@chenchen2003 I believe you'll be asked for a file you are trying to upload

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug: Accepted Bug has been confirmed, is reproducible, and ready to work on.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants