gitlabhq/gitlab-shell — pull request #122 by peterrosell (2013-12-30 21:47:18+00:00)
Title: gitlab_url should not end with a slash.

The gitlab_url should not end with a slash. It makes two slashes in the URL.

Debug log from gitlab-shell:
D, [2013-12-30T21:41:27.415409 #27249] DEBUG -- : Performing GET http://gitlab//api/v3/internal/allowed?key_id=1&action=git-receive-pack&ref=_any&project=testproj

The parameter is used in this line and it adds the slash:
https://github.com/gitlabhq/gitlab-shell/blob/master/lib/gitlab_net.rb#L39