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

Closed
Open
Created Aug 23, 2013 by Administrator@rootOwner

Branches view throwing 404 if branches names contain '#' or two '/' (6.0)

Created by: hithwen

Workflow: dashboard/project/commits/branches Goes to: /root/project/branches/recent Displays: 404 production.log content:

Started GET "/root/project/branches" for 127.0.0.1 at 2013-08-23 13:02:19 +0200 Processing by Projects::BranchesController#index as HTML Parameters: {"project_id"=>"root/project"} Rendered shared/_ref_switcher.html.haml (2.4ms) Rendered projects/commits/_head.html.haml (7.5ms) Rendered projects/branches/_filter.html.haml (1.6ms) Rendered projects/branches/_branch.html.haml (4.6ms) Rendered projects/branches/_branch.html.haml (34.4ms) Rendered projects/branches/index.html.haml within layouts/projects (51.5ms) Completed 500 Internal Server Error in 91ms

ActionController::RoutingError (No route matches {:action=>"destroy", :controller=>"projects/branches", :project_id=>#<Project id: 1, name: "ProjectName", path: "project", description: nil, created_at: "2013-01-15 13:26:14", updated_at: "2013-04-24 07:46:38", owner_id: 1, default_branch: "master", issues_enabled: true, wall_enabled: true, merge_requests_enabled: true, wiki_enabled: true, namespace_id: 1, creator_id: nil, public: false, issues_tracker: "gitlab", issues_tracker_id: nil, snippets_enabled: true, last_activity_at: "2013-08-23 10:16:08", imported: false, import_url: nil>, :id=>"feature/Dummy/tests"}): app/views/projects/branches/_branch.html.haml:17:in _app_views_projects_branches__branch_html_haml___1780743155423148880_41842080' app/views/projects/branches/index.html.haml:9:inblock in _app_views_projects_branches_index_html_haml__4114748827762067820_42423540' app/views/projects/branches/index.html.haml:8:in each' app/views/projects/branches/index.html.haml:8:in_app_views_projects_branches_index_html_haml__4114748827762067820_42423540'

Assignee
Assign to
Time tracking