mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@18351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
efa2ce2d5b
commit
76ef6fa16b
2 changed files with 7 additions and 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),
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue