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
  • #3030

Closed
Open
Created Feb 19, 2013 by Administrator@rootOwner

Folder and files within a project named "edit" cannot be viewed in GitLab

Created by: plutz

Update: Versin 4.1.0 d14069e3

When a project hosted in GitLab has a folder named "edit" you cannot descend into the folder. Ruby tries to parse the last part of the URL /edit as a command.

This also applies to files with "edit" in the name. For instance, you cannot edit the file name "edit.php."

How to reproduce:

  • create a folder named "edit"
  • add content to the folder
  • push the project with the folder named "edit" to GitLab
  • go to the files tab for the project
  • try to descend into the folder named "edit"

You will see the list of files in the current folder refresh. Occasionally a message is given stating "Only files can be edited."

This is similar to Issue #2686 (closed) which was closed. I tried to get traction in that issue, but no one reopened it.

Philip

Assignee
Assign to
Time tracking