Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #2449

Closed
Open
Created Dec 31, 2012 by Administrator@rootOwner

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:

  1. Open GitLab in browser
  2. Navigate to project with a .gitignore file
  3. Click Files tab
  4. 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:

  1. Modify a .gitignore file and another file, commit, and push to GitLab
  2. Open GitLab in browser
  3. View the commit diff

Notice no color formatting for .gitignore, but it works for other files.

Capture

Assignee
Assign to
Time tracking