Ports the changes from https://gitlab.com/gitlab-org/gitlab-foss/merge_requests/32590
Attach a file by drag & drop or click to upload