snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

svg company logo upload

Open t3easy opened this issue 7 years ago • 14 comments

Please confirm you have done the following before posting your bug report:

Describe the bug Wrong mimetype for svg image/svg > image/svg+xml

To Reproduce Steps to reproduce the behavior:

  1. Go to 'admin/branding'
  2. Click on 'Select file'
  3. 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 grafik grafik

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

t3easy avatar Oct 31 '19 00:10 t3easy

I can confirm the same issue as well as the similar error with .lic file upload under Licenses

tony-vi avatar Nov 07 '19 22:11 tony-vi

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!

stale[bot] avatar Jan 07 '20 04:01 stale[bot]

Haven't tested with 4.8.0.

t3easy avatar Jan 07 '20 09:01 t3easy

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!

stale[bot] avatar Jan 07 '20 09:01 stale[bot]

I have this problem on Version v4.8.0 - build 4186 (master) Server is CentOS 7.7

pguinet avatar Jan 08 '20 10:01 pguinet

Still an issue in Version v4.8.0 - build 4186 (master)

brewerc1 avatar Feb 12 '20 21:02 brewerc1

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!

stale[bot] avatar Apr 12 '20 21:04 stale[bot]

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.

brewerc1 avatar Apr 13 '20 19:04 brewerc1

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!

stale[bot] avatar Apr 13 '20 19:04 stale[bot]

@snipe can you mark this as a bug?

brewerc1 avatar Apr 13 '20 19:04 brewerc1

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!

stale[bot] avatar Jun 12 '20 19:06 stale[bot]

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.

stale[bot] avatar Jun 20 '20 03:06 stale[bot]

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 Documentation
These 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...

RyanMorash avatar Dec 20 '20 23:12 RyanMorash

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.

brewerc1 avatar Jan 04 '21 15:01 brewerc1