diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-01-31 06:10:06 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-01-31 06:10:06 +0000 |
commit | 88ca8baef966f6f1cd754ea7dff857b857e6cc66 (patch) | |
tree | 38ce25e4bab9d16a5ffb4c8476a71fc239f30001 /lib/open-uri.rb | |
parent | ff95fbdea88e010188809a25832ebf3b0ace4fa7 (diff) | |
download | ruby-88ca8baef966f6f1cd754ea7dff857b857e6cc66.tar.gz |
* 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
Diffstat (limited to 'lib/open-uri.rb')
-rw-r--r-- | lib/open-uri.rb | 3 |
1 files changed, 0 insertions, 3 deletions
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 || |