forgot to replace two occurences of ENV.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ddadd13942
commit
a44f5878f2
@ -1547,7 +1547,7 @@ module URI
|
||||
end
|
||||
|
||||
name = 'no_proxy'
|
||||
if no_proxy = ENV[name] || ENV[name.upcase]
|
||||
if no_proxy = env[name] || env[name.upcase]
|
||||
no_proxy.scan(/(?!\.)([^:,\s]+)(?::(\d+))?/) {|host, port|
|
||||
if (!port || self.port == port.to_i)
|
||||
if /(\A|\.)#{Regexp.quote host}\z/i =~ self.host
|
||||
|
Loading…
x
Reference in New Issue
Block a user