Bug #274
typo in net/smtp
| Status: | Closed | Start date: | 07/14/2008 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 100% |
|
| Category: | - | |||
| Target version: | - | |||
| ruby -v: |
Description
※[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
Associated revisions
* lib/net/smtp.rb (Net::SMTP::rcptto): fix a typo. a patch from
Masao Takaku <masao at nii.ac.jp>
fix [ruby-dev:35489].
History
Updated by shyouhei (Shyouhei Urabe) almost 4 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
Applied in changeset r18351.