diff --git a/ChangeLog b/ChangeLog index e914fbf8..3d55ee4c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-09-25 Tatsuhiro Tsujikawa + + Removed default user/pass for FTP user/pass, since it should not have + precedence over netrc configuration by default. + * src/OptionHandlerFactory.cc + 2008-09-23 Tatsuhiro Tsujikawa Added debug log for socket event. diff --git a/src/OptionHandlerFactory.cc b/src/OptionHandlerFactory.cc index 9c693c30..bd9825d1 100644 --- a/src/OptionHandlerFactory.cc +++ b/src/OptionHandlerFactory.cc @@ -550,8 +550,7 @@ OptionHandlers OptionHandlerFactory::createOptionHandlers() { SharedHandle op(new DefaultOptionHandler (PREF_FTP_PASSWD, - TEXT_FTP_PASSWD, - "ARIA2USER@")); + TEXT_FTP_PASSWD)); op->addTag(TAG_BASIC); op->addTag(TAG_FTP); handlers.push_back(op); @@ -584,8 +583,7 @@ OptionHandlers OptionHandlerFactory::createOptionHandlers() { SharedHandle op(new DefaultOptionHandler (PREF_FTP_USER, - TEXT_FTP_USER, - "anonymous")); + TEXT_FTP_USER)); op->addTag(TAG_BASIC); op->addTag(TAG_FTP); handlers.push_back(op);