gitlabhq/gitlab-shell — pull request #155 by ssandler (2014-06-16 19:55:26+00:00)
Title: GitlabUpdate: use stripped path for repo_name

I noticed an issue where a newline character was at the end of the repo_path, and as a result the api.allowed call was failing (note the %0A at the end of the project name):

>D, [2014-06-16T11:16:18.293419 #6236] DEBUG -- : Performing GET http://localhost//api/v3/internal/allowed?action=git-receive-pack&ref=test&project=test%2Ftest%0A&forced_push=false&oldrev=0000000000000000000000000000000000000000&newrev=242f697a698b09cefd12c2f7784ee8877542e777&key_id=9

Changing to use the already-stripped repo_path instead solved the problem for me.