404 when trying to access repository files
Issue appears after update to Gitlab 8.11. 8.10 was not affected.
This issue also reproducable on gitlab.com. Steps to reproduce:
- In "Profile settings / Preferences" change value in "Project view" dropdown to "Files view".
- Open any project, you will see files list.
- Try to open any file/folder from here. This will cause 404 error.
Urls on this page are incorrect. For example, url to readme.md in gitlab-ce repository looks like this:
https://gitlab.com/gitlab-org/gitlab-ce/blob/gitlab-ce/README.md
If we go to "Repository / Files" link looks like this:
https://gitlab.com/gitlab-org/gitlab-ce/blob/master/README.md
In first link branch name "master" is replaced with project name "gitlab-ce".