Commit b14d40f0 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Handle branches with / in the name

parent f601ec54
...@@ -735,7 +735,8 @@ Rails.application.routes.draw do ...@@ -735,7 +735,8 @@ Rails.application.routes.draw do
resources :artifacts, only: [] do resources :artifacts, only: [] do
collection do collection do
get :search, path: ':ref/:build_name(/*path)', format: false get :search, path: ':ref/:build_name/*path', format: false,
constraints: { ref: %r{.+(?=/)} } # ref could have /
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment