Error "Filenames contained invalid characters" when attaching images to ticket

Summary

When I try to attach any image to any of my tickets I get an error: "Filenames contained invalid characters and could not be saved." The image filenames are valid, such as "Screenshot 2021-02-08 at 19.26.23.jpg" or "welcome remove exclamation mark.jpg".

Steps to reproduce

Ticket for instance: https://gitlab.com/ishayMuso/mm2000/-/issues/304 Try to attach an image.

Example Project

What is the current bug behavior?

When I try to attach any image to any of my tickets I get an error: "Filenames contained invalid characters and could not be saved." The image filenames are valid, such as "Screenshot 2021-02-08 at 19.26.23.jpg" or "welcome remove exclamation mark.jpg".

What is the expected correct behavior?

Images should be attached successfully.

Relevant logs and/or screenshots

See attached screenshot.

Screenshot_2021-02-09_at_11.32.52

Output of checks

This bug happens on GitLab.com

Results of GitLab environment info