Backport changes from EE MR 8186 See merge request gitlab-org/gitlab-ce!31707
Attach a file by drag & drop or click to upload