Blame for invalid file gives 500 error
Summary
Navigating to a blame URL (https://<GITLAB_URL>///blame//) for a path that does not exist results in a 500 page.
Steps to reproduce
Navigate to a blame URL for a file path that does not exist in the repository (for the given commit or branch)
Expected behavior
404 error.
Actual behavior
500 error.
Output of checks
Appears on private instance, GitLab.com