lib/spandx/gateways/http.rb in spandx-0.3.0 vs lib/spandx/gateways/http.rb in spandx-0.4.0
- old
+ new
@@ -9,10 +9,10 @@
@driver = driver
end
def get(uri, default: nil)
driver.with_retry do |client|
- client.get(uri)
+ client.get(Addressable::URI.escape(uri))
end
rescue *Net::Hippie::CONNECTION_ERRORS
default
end