[前][次][番号順一覧][スレッド一覧]

ruby-changes:6837

From: shyouhei <ko1@a...>
Date: Mon, 4 Aug 2008 14:51:21 +0900 (JST)
Subject: [ruby-changes:6837] Ruby:r18353 (ruby_1_8_7): merge revision(s) 18351:

shyouhei	2008-08-04 14:51:11 +0900 (Mon, 04 Aug 2008)

  New Revision: 18353

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=18353

  Log:
    merge revision(s) 18351:
    * lib/net/smtp.rb (Net::SMTP::rcptto): fix a typo. a patch from
      Masao Takaku <masao at nii.ac.jp>
      fix [ruby-dev:35489].

  Modified files:
    branches/ruby_1_8_7/ChangeLog
    branches/ruby_1_8_7/lib/net/smtp.rb
    branches/ruby_1_8_7/version.h

Index: ruby_1_8_7/ChangeLog
===================================================================
--- ruby_1_8_7/ChangeLog	(revision 18352)
+++ ruby_1_8_7/ChangeLog	(revision 18353)
@@ -1,3 +1,9 @@
+Mon Aug  4 14:49:35 2008  URABE Shyouhei  <shyouhei@r...>
+
+	* lib/net/smtp.rb (Net::SMTP::rcptto): fix a typo. a patch from
+	  Masao Takaku <masao at nii.ac.jp>
+	  fix [ruby-dev:35489].
+
 Mon Aug  4 14:13:15 2008  Nobuyoshi Nakada  <nobu@r...>
 
 	* regex.c (xmalloc, xrealloc, xfree): not to use ruby managed memory.
Index: ruby_1_8_7/version.h
===================================================================
--- ruby_1_8_7/version.h	(revision 18352)
+++ ruby_1_8_7/version.h	(revision 18353)
@@ -2,7 +2,7 @@
 #define RUBY_RELEASE_DATE "2008-08-04"
 #define RUBY_VERSION_CODE 187
 #define RUBY_RELEASE_CODE 20080804
-#define RUBY_PATCHLEVEL 69
+#define RUBY_PATCHLEVEL 70
 
 #define RUBY_VERSION_MAJOR 1
 #define RUBY_VERSION_MINOR 8
Index: ruby_1_8_7/lib/net/smtp.rb
===================================================================
--- ruby_1_8_7/lib/net/smtp.rb	(revision 18352)
+++ ruby_1_8_7/lib/net/smtp.rb	(revision 18353)
@@ -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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]