Design management forbid the uploading of SVG (though it's allowed by the documentation and was previously possible)

I've checked https://gitlab.com/gitlab-org/gitlab/-/issues/?sort=created_date&state=opened&label_name%5B%5D=regression&search=svg%20&first_page_size=100

Summary

When trying to upload a svg to design management of a gitlab issues, the type SVG is rejected

It was added by !16160 (merged)

and is supported according to the documentation https://docs.gitlab.com/ee/user/project/issues/design_management.html#supported-file-types

Steps to reproduce

  1. create an issue
  2. click on "drag your design"
  3. choose a valid svg file on your local filesystem
  4. select ok => you get

Example Project

What is the current bug behavior?

SVG are rejected

What is the expected correct behavior?

SVG are allowed to be uploaded as design images

Relevant logs and/or screenshots

image

Output of checks

This bug happens on GitLab.com

Possible fixes

Assignee Loading
Time tracking Loading