Skip to content
Snippets Groups Projects
Commit ff976bc8 authored by Johannes Schleifenbaum's avatar Johannes Schleifenbaum
Browse files

fix grack accessing files beginning with .git

parent ffe064a2
No related branches found
No related tags found
1 merge request!2450fix grack accessing files beginning with .git
Loading
Loading
@@ -18,7 +18,7 @@ Gitlab::Application.routes.draw do
project_root: Gitlab.config.gitolite.repos_path,
upload_pack: Gitlab.config.gitolite.upload_pack,
receive_pack: Gitlab.config.gitolite.receive_pack
}), at: '/', constraints: lambda { |request| /[-\/\w\.-]+\.git/.match(request.path_info) }
}), at: '/', constraints: lambda { |request| /[-\/\w\.-]+\.git\//.match(request.path_info) }
 
#
# Help
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment