From 88ca8baef966f6f1cd754ea7dff857b857e6cc66 Mon Sep 17 00:00:00 2001 From: matz Date: Wed, 31 Jan 2007 06:10:06 +0000 Subject: * lib/open-uri.rb (OpenURI::OpenURI.open_uri): revert last change to conform RFC3986. [ruby-dev:30230] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/open-uri.rb | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib') diff --git a/lib/open-uri.rb b/lib/open-uri.rb index 1ccb4f2614..56c78f0468 100644 --- a/lib/open-uri.rb +++ b/lib/open-uri.rb @@ -125,9 +125,6 @@ module OpenURI options = rest.shift if !rest.empty? && Hash === rest.first raise ArgumentError.new("extra arguments") if !rest.empty? options ||= {} - if uri.user and uri.password and not options[:http_basic_authentication] - options[:http_basic_authentication] = [uri.user,uri.password] - end OpenURI.check_options(options) unless mode == nil || -- cgit v1.2.3