diff options
author | Markus Grobelin <grobi@koppzu.de> | 2012-10-26 14:05:57 +0200 |
---|---|---|
committer | Markus Grobelin <grobi@koppzu.de> | 2012-10-26 14:05:57 +0200 |
commit | bd50a9f466b3df15917b32142bfc325114ef811a (patch) | |
tree | a5be83709a8750ffcecfab6e84ddddcd0c12329b /config/routes.rb | |
parent | d005242d230b1e0c59e183996f0f3117540130d3 (diff) | |
download | gitlab-ce-bd50a9f466b3df15917b32142bfc325114ef811a.tar.gz |
grack: allow repositories to have dots in name, e.g. serverconfigs-example.com.git
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index adaf6a1e35e..e597c61e0a2 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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 |