diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-10-11 16:42:05 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-10-11 16:42:05 +0000 |
commit | a44f5878f212dba8a37c27a90be9aba9d0aec62a (patch) | |
tree | e1cf0903690004d3fd466fa39a63bcb362ebcd3f /lib | |
parent | ddadd13942022b3c91ac475e624cd3048b3c5433 (diff) | |
download | ruby-a44f5878f212dba8a37c27a90be9aba9d0aec62a.tar.gz |
forgot to replace two occurences of ENV.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/uri/generic.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/uri/generic.rb b/lib/uri/generic.rb index 0ac91d5f39..2b95b47fa7 100644 --- a/lib/uri/generic.rb +++ b/lib/uri/generic.rb @@ -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 |