diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-07 14:41:04 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-07 14:41:04 +0200 |
commit | 491d3cee86fa6e7a544443c1400d60ecfc1451f7 (patch) | |
tree | 502b5d38342a4d8627d6692d4e4aadcfa545893f | |
parent | 20c237edf8efc576371be9064fc9a181625f5f66 (diff) | |
download | gitlab-shell-491d3cee86fa6e7a544443c1400d60ecfc1451f7.tar.gz |
oops. forgot about params
-rw-r--r-- | lib/gitlab_net.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab_net.rb b/lib/gitlab_net.rb index 9b73172..3c033c4 100644 --- a/lib/gitlab_net.rb +++ b/lib/gitlab_net.rb @@ -36,7 +36,7 @@ class GitlabNet url = URI.parse(url) http = Net::HTTP.new(url.host, url.port) http.use_ssl = (url.port == 443) - request = Net::HTTP::Get.new(url.path) + request = Net::HTTP::Get.new(url.request_uri) http.start {|http| http.request(request) } end end |