open-uri in Ruby 2.4 allows http to https redirection

In Ruby 2.3, if the argument to open-uri is http and the host redirects to https , then open-uri would throw an error.
open-uri in Ruby 2.4 allows http to https redirection #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/open-uri-in-ruby-2-4-allows-http-to-https-redirection

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles