Accessing the /blob URL of a non-public/non-existing project while unauthenticated produces an incomplete 401 page and no redirection to sign-in
Summary
Some time ago, I realized the gitlab-ci-multi-runner
was no longer available and moved to the gitlab-runner
namespace.
However, I still have some stale bookmarks pointing to the old repo and today, when accessing a blob while being unauthenticated, GitLab replied an almost-empty 401 with "You need to sign in or sign up before continuing.
" as body. Instead of redirecting to https://gitlab.com/users/sign_in and keeping the original URL for later access (when the user will be redirected to the right page if he has access rights or to the 404 default error page otherwise).
Steps to reproduce
What is the current bug behavior?
What is the expected correct behavior?
The same that occurs when accessing a different repo URL; e.g. access https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/issues/2597