svg company logo upload
Please confirm you have done the following before posting your bug report:
- [x] I have enabled debug mode
- [x] I have read checked the Common Issues page
Describe the bug
Wrong mimetype for svg image/svg > image/svg+xml
To Reproduce Steps to reproduce the behavior:
- Go to 'admin/branding'
- Click on 'Select file'
- In Chrome you can't select a svg because of wrong mimetype in the accept property, in Firefox I can select an svg but save fails.
Expected behavior SVG can be selected and uploades
Screenshots

Server (please complete the following information):
- Snipe-IT Version 4.7.8
- OS: docker
- Web Server: Apache
- PHP Version 7.1.33
Desktop (please complete the following information):
- OS: macOS 10.14
- Browser chrome, firefox
- Version latest
Error Messages Accepted filetypes are jpg, png, gif, and svg. Max upload size allowed is 8M. The image must be a file of type: png, gif, jpg, jpeg, svg.
Additional context
- Is this a fresh install or an upgrade? fresh
- What OS and web server you're running Snipe-IT on: your docker image
- What method you used to install Snipe-IT: docker
- Include what you've done so far in the installation, and if you got any error messages along the way: initial setup
- Indicate whether or not you've manually edited any data directly in the database: no
I can confirm the same issue as well as the similar error with .lic file upload under Licenses
Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!
Haven't tested with 4.8.0.
Okay, it looks like this issue or feature request might still be important. We'll re-open it for now. Thank you for letting us know!
I have this problem on Version v4.8.0 - build 4186 (master) Server is CentOS 7.7
Still an issue in Version v4.8.0 - build 4186 (master)
Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!
This is still an issue on v4.9.2 build 4352 (gec723a3da). I've confirmed that SVG files cannot be uploaded in Safari 13.1 and Chrome 80.0.3987.163 on Mac.
Okay, it looks like this issue or feature request might still be important. We'll re-open it for now. Thank you for letting us know!
@snipe can you mark this as a bug?
Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!
This issue has been automatically closed because it has not had recent activity. If you believe this is still an issue, please confirm that this issue is still happening in the most recent version of Snipe-IT and reply to this thread to re-open it.
This is still an issue on version 5.0.11 - build 5695. Following the steps in https://snipe-it.readme.io/docs/common-issues#svg-images-will-not-upload have not resolved the issue either.
Snipe-IT DocumentationThese commands should be run from your Snipe-IT project root, just like every other cli command we mention. They should not need to be run as root/sudo/admin.These commands clear out cached service files that help speed up modern PHP applications but can also very occasionally be out of date, resu...
Doesn't seem the @snipe is paying attention to these threads, as this is still a bug and has been for a long time. Growing super tired of replying to stale bot for no apparent benefit.