--- /home/rshterenzon/ruby/lib/ruby/1.8/open-uri.rb 2007-10-08 13:16:54.000000000 +0200 +++ open-uri.rb 2008-12-11 20:10:25.000000000 +0200 @@ -195,7 +195,7 @@ # file:///etc/passwd. # However this is ad hoc. It should be extensible/configurable. uri1.scheme.downcase == uri2.scheme.downcase || - (/\A(?:http|ftp)\z/i =~ uri1.scheme && /\A(?:http|ftp)\z/i =~ uri2.scheme) + (/\A(?:https?|ftp)\z/i =~ uri1.scheme && /\A(?:https?|ftp)\z/i =~ uri2.scheme) end def OpenURI.open_http(buf, target, proxy, options) # :nodoc: