Project

General

Profile

Bug #9385 » 0001-open-uri-Ignore-ENV-for-proxy-when-proxy-flag-nil.patch

possible solution - toch (Christophe Philemotte), 01/09/2014 06:49 AM

View differences:

lib/open-uri.rb
end
end
http = klass.new(target_host, target_port)
http = proxy ? klass.new(target_host, target_port) : klass.new(target_host, target_port, nil)
if target.class == URI::HTTPS
require 'net/https'
http.use_ssl = true
(3-3/3)