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:
akr 2016-10-11 16:42:05 +00:00
Родитель ddadd13942
Коммит a44f5878f2
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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