diff --git a/ChangeLog b/ChangeLog index 32cde22a03..bb2e397473 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Mon Aug 4 14:41:25 2008 URABE Shyouhei + + * lib/net/smtp.rb (Net::SMTP::rcptto): fix a typo. a patch from + Masao Takaku + fix [ruby-dev:35489]. + Mon Aug 4 14:08:55 2008 Nobuyoshi Nakada * marshal.c (dump_ensure), process.c (run_exec_dup2), diff --git a/lib/net/smtp.rb b/lib/net/smtp.rb index 5cce6cc50c..b58e73029b 100644 --- a/lib/net/smtp.rb +++ b/lib/net/smtp.rb @@ -837,7 +837,7 @@ module Net 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