diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | lib/net/smtp.rb | 2 | ||||
-rw-r--r-- | version.h | 2 |
3 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,9 @@ +Mon Aug 4 14:49:35 2008 URABE Shyouhei <shyouhei@ruby-lang.org> + + * 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@ruby-lang.org> * regex.c (xmalloc, xrealloc, xfree): not to use ruby managed memory. diff --git a/lib/net/smtp.rb b/lib/net/smtp.rb index 57dee9a496..7c9d9388ef 100644 --- a/lib/net/smtp.rb +++ b/lib/net/smtp.rb @@ -837,7 +837,7 @@ module Net 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 @@ -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 |