Skip to content

Commit 35e689c

Browse files
authored
Merge pull request #186 from premailer/grosser/https
verify ssl when loading files over https
2 parents 3f91e8d + a9f2947 commit 35e689c

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

lib/css_parser/parser.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,6 @@ def read_remote_file(uri) # :nodoc:
643643
uri.port = 443 unless uri.port
644644
http = Net::HTTP.new(uri.host, uri.port)
645645
http.use_ssl = true
646-
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
647646
else
648647
http = Net::HTTP.new(uri.host, uri.port)
649648
end

0 commit comments

Comments
 (0)