From 537dac271365493619c7b4d46560be7eef051fed Mon Sep 17 00:00:00 2001 From: knu Date: Thu, 10 Apr 2014 14:46:37 +0000 Subject: * lib/net/ftp.rb (Net::FTP#login): [DOC] The default password for anonymous login was changed to "anonymous@" in r25313. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ lib/net/ftp.rb | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9be4b2bf43..25fa40516d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Apr 10 23:41:21 2014 Akinori MUSHA + + * lib/net/ftp.rb (Net::FTP#login): [DOC] The default password for + anonymous login was changed to "anonymous@" in r25313. + Thu Apr 10 19:22:58 2014 Koichi Sasada * test/ruby/test_array.rb: remove useless `assert'. diff --git a/lib/net/ftp.rb b/lib/net/ftp.rb index c22b9636d5..5ebf262185 100644 --- a/lib/net/ftp.rb +++ b/lib/net/ftp.rb @@ -443,12 +443,12 @@ module Net private :transfercmd # - # Logs in to the remote host. The session must have been previously - # connected. If +user+ is the string "anonymous" and the +password+ is - # +nil+, a password of user@host is synthesized. If the +acct+ - # parameter is not +nil+, an FTP ACCT command is sent following the - # successful login. Raises an exception on error (typically - # Net::FTPPermError). + # Logs in to the remote host. The session must have been + # previously connected. If +user+ is the string "anonymous" and + # the +password+ is +nil+, "anonymous@" is used as a password. If + # the +acct+ parameter is not +nil+, an FTP ACCT command is sent + # following the successful login. Raises an exception on error + # (typically Net::FTPPermError). # def login(user = "anonymous", passwd = nil, acct = nil) if user == "anonymous" and passwd == nil -- cgit v1.2.3