Commit 4a76edde authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Version up to 1.7.2

parent db79c32e
v1.7.2
- More safe command execution
v1.7.1 v1.7.1
- Fixed issue when developers are able to push to protected branches that contain a '/' in the branch name. - Fixed issue when developers are able to push to protected branches that contain a '/' in the branch name.
......
...@@ -53,7 +53,7 @@ class GitlabShell ...@@ -53,7 +53,7 @@ class GitlabShell
def process_cmd def process_cmd
repo_full_path = File.join(repos_path, repo_name) repo_full_path = File.join(repos_path, repo_name)
$logger.info "gitlab-shell: executing git command <#{@git_cmd} #{repo_full_path}> for #{log_username}." $logger.info "gitlab-shell: executing git command <#{@git_cmd} #{repo_full_path}> for #{log_username}."
exec_cmd(@git_cmd,repo_full_path) exec_cmd(@git_cmd, repo_full_path)
end end
def validate_access def validate_access
......
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