grack: allow repositories to have dots in name, e.g. serverconfigs-example.com.git
This commit is contained in:
parent
d005242d23
commit
bd50a9f466
2 changed files with 3 additions and 3 deletions
|
@ -18,7 +18,7 @@ Gitlab::Application.routes.draw do
|
|||
project_root: Gitlab.config.git_base_path,
|
||||
upload_pack: Gitlab.config.git_upload_pack,
|
||||
receive_pack: Gitlab.config.git_receive_pack
|
||||
}), at: '/:path', constraints: { path: /[\w-]+\.git/ }
|
||||
}), at: '/:path', constraints: { path: /[\w\.-]+\.git/ }
|
||||
|
||||
#
|
||||
# Help
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue