Project

General

Profile

Actions

Bug #274

closed

typo in net/smtp

Added by masao (Masao Takaku) over 16 years ago. Updated over 13 years ago.

Status:
Closed
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
Actions #1

Updated by shyouhei (Shyouhei Urabe) over 16 years ago

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

=begin
Applied in changeset r18351.
=end

Actions

Also available in: Atom PDF

Like0
Like0