Project

General

Profile

Bug #274

typo in net/smtp

Added by masao (Masao Takaku) almost 11 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
[ruby-dev:35489]

Description

=begin
※[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 =end

History

#1

Updated by shyouhei (Shyouhei Urabe) almost 11 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
Applied in changeset r18351.
=end

Also available in: Atom PDF