mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-13 22:59:19 +10:00
Merge pull request #2450 from jojosch/fix-grack-gitignore
fix grack accessing files beginning with .git
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user