File browser asks for username/password when attempting to view a .gitignore file
Created by: mjdetullio
When viewing a .gitignore file in the browser, the browser prompts you for a username and password (none of which work). Also, when viewing a diff in the browser, the UI does not color the diff for the .gitignore file. I only noticed this in my instance when changing a line, but it looks fine in the demo when only adding 1 line.
Tested on my 4.0 stable production environment and in the demo.
Steps to reproduce password prompt:
- Open GitLab in browser
- Navigate to project with a .gitignore file
- Click Files tab
- Click on .gitignore file
OR link directly to the file (i.e. http://demo.gitlabhq.com/gitlab/gitlabhq/tree/master/.gitignore)
Steps to reproduce UI flaw with .gitignore diff:
- Modify a .gitignore file and another file, commit, and push to GitLab
- Open GitLab in browser
- View the commit diff
Notice no color formatting for .gitignore, but it works for other files.