Add support for svg's with mime types that include +xml appended

Created on 13 April 2023, over 1 year ago
Updated 14 September 2024, 2 months ago

Problem/Motivation

In ChooseBlockController.php we are checking to see if the mime type is image/svg however some SVG's include the +xml.

Steps to reproduce

Proposed resolution

Make the if (mime_content_type($icon_path) === "image/svg") check a bit less specific.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇨🇦Canada AaronChristian Kelowna, BC

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024