diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-04 05:46:53 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-04 05:46:53 +0000 |
commit | 6500ad8132d8ce342a62cbed15ef0116254abd3d (patch) | |
tree | 5af3e84a360b7fc724108d970bac6532d2191bb0 | |
parent | 03b2c04fcb58d39a93e3c3bcd11156cd7b3e23d9 (diff) | |
download | ruby-6500ad8132d8ce342a62cbed15ef0116254abd3d.tar.gz ruby-6500ad8132d8ce342a62cbed15ef0116254abd3d.tar.xz ruby-6500ad8132d8ce342a62cbed15ef0116254abd3d.zip |
* lib/net/smtp.rb (Net::SMTP::rcptto): fix a typo. a patch from
Masao Takaku <masao at nii.ac.jp>
fix [ruby-dev:35489].
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | lib/net/smtp.rb | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +Mon Aug 4 14:41:25 2008 URABE Shyouhei <shyouhei@ruby-lang.org> + + * 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@ruby-lang.org> * marshal.c (dump_ensure), process.c (run_exec_dup2), diff --git a/lib/net/smtp.rb b/lib/net/smtp.rb index 5cce6cc50..b58e73029 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 |