Skip to content

Fix 500 error when loading an invalid upload URL

Sean McGivern requested to merge fix-500-for-invalid-upload-path into master

What does this MR do?

Fix a 500 error when accessing a legacy URL like https://gitlab.com/uploads/project/avatar/13083/gitlab-logo-square.png

The previous behaviour was confusing, but I've gone with the same thing: if you're logged in, you get a 404. If you're logged out, you are asked to sign in.

What are the relevant issue numbers?

Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/4998.

Merge request reports

Loading