Skip to content

Commit 491d3ce

Browse files
committed
oops. forgot about params
1 parent 20c237e commit 491d3ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/gitlab_net.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def get(url)
3636
url = URI.parse(url)
3737
http = Net::HTTP.new(url.host, url.port)
3838
http.use_ssl = (url.port == 443)
39-
request = Net::HTTP::Get.new(url.path)
39+
request = Net::HTTP::Get.new(url.request_uri)
4040
http.start {|http| http.request(request) }
4141
end
4242
end

0 commit comments

Comments
 (0)