From: Masao Takaku Date: 2008-07-15T00:14:54+09:00 Subject: [ruby-dev:35489] [Ruby 1.8 - Bug #274] (Open) typo in net/smtp チケット #274 が報告されました。 (by Masao Takaku) ---------------------------------------- Bug #274: typo in net/smtp http://redmine.ruby-lang.org/issues/show/274 起票者: Masao Takaku ステータス: Open 優先度: Normal 担当者: カテゴリ: Target version: ※[ruby-dev::35218] にて報告したのですが、埋もれてしまうようなので、バグ報告システムに入れておきます。 net/smtp.rb に変数名の綴りミスによるバグがあるようです。 Index: lib/net/smtp.rb =================================================================== --- lib/net/smtp.rb (リビジョン 17564) +++ lib/net/smtp.rb (作業コピー) @@ -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 ---------------------------------------- http://redmine.ruby-lang.org