Fix leaky constant issue in path regex spec See merge request gitlab-org/gitlab!32115
Attach a file by drag & drop or click to upload