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:in
block in _app_views_projects_branches_index_html_haml__4114748827762067820_42423540' app/views/projects/branches/index.html.haml:8:ineach' app/views/projects/branches/index.html.haml:8:in
_app_views_projects_branches_index_html_haml__4114748827762067820_42423540'