Svg images do not upload when the thumbnail is short-circuited to the blob

Found in

EPiServer.CMS.UI 9.4.1

Fixed in

EPiServer.CMS.Core 9.8.0

Created

Mar 15, 2016

Updated

Apr 08, 2016

Area

CMS Core

State

Closed, Fixed and tested


Description

Svg images do not upload

Steps to reproduce

  1. Use a sample Alloy site with EPiServer.CMS 9.7.1.
  2. Add svg support using this article: http://world.episerver.com/blogs/Ben-McKernan/Dates/2015/7/supporting-svg-images/.
  3. Upload an svg file to Assets. Then, download it from Assets. Its file size is 0.
  4. In a content page, add a link to the svg file. Publish content.
  5. Click the link to the svg file.

Expected: Svg images are uploaded and rendered
Actual: Svg images do not upload and are not rendered