mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue