Prevent uploading of too long file name
Too long file name can break backups, see issue > https://gitlab.com/gitlab-org/gitlab/-/issues/254215 In this MR > https://gitlab.com/gitlab-org/gitlab/-/merge_requests/69500, we have prevented "too long file name" from being submitted to the `uploads` endpoint. However, a long file name can still render a successful response. ![image](/uploads/73d88519378d355de52b4beb17318923/image.png) I think it might be helpful to prevent this on the ~backend from successfully saving "too long file name". And have a guard to not allow this from happening 💂‍♂️
issue