iMi-digital / magento2-module-svg-product-images

Allow SVG for Product images in Magento 2
9 stars 7 forks source link

Fix svg mimetype #4

Closed DomBra27 closed 4 years ago

DomBra27 commented 4 years ago

Bug in getMimeType method found, when file has no file extension, e.g. when file is uploaded in product edit form. \Magento\Framework\File\Mime::getMimeType returns 'image/svg' instead of 'image/svg+xml'.

amenk commented 4 years ago

Thanks, greetings to integer-net :)