ruby-changes:6836
From: shyouhei <ko1@a...>
Date: Mon, 4 Aug 2008 14:47:25 +0900 (JST)
Subject: [ruby-changes:6836] Ruby:r18351 (ruby_1_8, trunk): * lib/net/smtp.rb (Net::SMTP::rcptto): fix a typo. a patch from
shyouhei 2008-08-04 14:46:53 +0900 (Mon, 04 Aug 2008) New Revision: 18351 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=18351 Log: * lib/net/smtp.rb (Net::SMTP::rcptto): fix a typo. a patch from Masao Takaku <masao at nii.ac.jp> fix [ruby-dev:35489]. Modified files: branches/ruby_1_8/ChangeLog branches/ruby_1_8/lib/net/smtp.rb trunk/ChangeLog trunk/lib/net/smtp.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 18350) +++ ChangeLog (revision 18351) @@ -1,3 +1,9 @@ +Mon Aug 4 14:41:25 2008 URABE Shyouhei <shyouhei@r...> + + * lib/net/smtp.rb (Net::SMTP::rcptto): fix a typo. a patch from + Masao Takaku <masao at nii.ac.jp> + fix [ruby-dev:35489]. + Mon Aug 4 14:08:55 2008 Nobuyoshi Nakada <nobu@r...> * marshal.c (dump_ensure), process.c (run_exec_dup2), Index: lib/net/smtp.rb =================================================================== --- lib/net/smtp.rb (revision 18350) +++ lib/net/smtp.rb (revision 18351) @@ -837,7 +837,7 @@ def rcptto(to_addr) if $SAFE > 0 - raise SecurityError, 'tainted to_addr' if to.tainted? + raise SecurityError, 'tainted to_addr' if to_addr.tainted? end getok("RCPT TO:<#{to_addr}>") end Index: ruby_1_8/ChangeLog =================================================================== --- ruby_1_8/ChangeLog (revision 18350) +++ ruby_1_8/ChangeLog (revision 18351) @@ -1,3 +1,9 @@ +Mon Aug 4 14:39:06 2008 URABE Shyouhei <shyouhei@r...> + + * lib/net/smtp.rb (Net::SMTP::rcptto): fix a typo. a patch from + Masao Takaku <masao at nii.ac.jp> + fix [ruby-dev:35489]. + Sat Aug 2 16:08:07 2008 Nobuyoshi Nakada <nobu@r...> * eval.c (rb_thread_schedule): runs deferred finalizers. Index: ruby_1_8/lib/net/smtp.rb =================================================================== --- ruby_1_8/lib/net/smtp.rb (revision 18350) +++ ruby_1_8/lib/net/smtp.rb (revision 18351) @@ -837,7 +837,7 @@ def rcptto(to_addr) if $SAFE > 0 - raise SecurityError, 'tainted to_addr' if to.tainted? + raise SecurityError, 'tainted to_addr' if to_addr.tainted? end getok("RCPT TO:<#{to_addr}>") end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/