lib/bearcat/client/file_helper.rb in bearcat-1.4.13 vs lib/bearcat/client/file_helper.rb in bearcat-1.5.0.beta1

- old
+ new

@@ -23,11 +23,11 @@ end end def confirm_file_upload(url) uri = URI(url) - query = uri.query - query.blank? ? get(uri.path) : get(uri.path, CGI::parse(query)) + uri.scheme = uri.host = uri.port = nil + get(uri.to_s) end def upload_connection Faraday.new do |f| f.options[:open_timeout] = ENV.fetch('FARADAY_OPEN_TIMEOUT', 60).to_i