Skip to content

Conversation

@peterrosell
Copy link

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

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
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.01%) when pulling 3852f40 on peterrosell:master into 56e216f on gitlabhq:master.

@peterrosell
Copy link
Author

Seems to be fixed by other PR. closing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants