From a2d0d15b711cae6fcc63a5b1b8cceb45946c60d1 Mon Sep 17 00:00:00 2001 From: shyouhei Date: Mon, 4 Aug 2008 05:51:11 +0000 Subject: merge revision(s) 18351: * lib/net/smtp.rb (Net::SMTP::rcptto): fix a typo. a patch from Masao Takaku fix [ruby-dev:35489]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@18353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/net/smtp.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/net') diff --git a/lib/net/smtp.rb b/lib/net/smtp.rb index 57dee9a496..7c9d9388ef 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 -- cgit v1.2.3