There was an error while loading. Please reload this page.
1 parent 20c237e commit 491d3ceCopy full SHA for 491d3ce
lib/gitlab_net.rb
@@ -36,7 +36,7 @@ def get(url)
36
url = URI.parse(url)
37
http = Net::HTTP.new(url.host, url.port)
38
http.use_ssl = (url.port == 443)
39
- request = Net::HTTP::Get.new(url.path)
+ request = Net::HTTP::Get.new(url.request_uri)
40
http.start {|http| http.request(request) }
41
end
42
0 commit comments