Project

General

Profile

Bug #15933 » ruby-changes.patch

gareth (Gareth Adams), 06/17/2019 07:01 PM

View differences:

lib/open-uri.rb
elsif block_given?
yield
elsif type && %r{\Atext/} =~ type &&
@base_uri && /\Ahttp\z/i =~ @base_uri.scheme
@base_uri && /\Ahttps?\z/i =~ @base_uri.scheme
"iso-8859-1" # RFC2616 3.7.1
else
nil
(1-1/3)