ruby-changes:34409
From: naruse <ko1@a...>
Date: Sun, 22 Jun 2014 09:22:27 +0900 (JST)
Subject: [ruby-changes:34409] naruse:r46490 (trunk): lib/uri/mailto.rb (initialize): as previous commit, fix arg_check
naruse 2014-06-22 09:22:15 +0900 (Sun, 22 Jun 2014) New Revision: 46490 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46490 Log: lib/uri/mailto.rb (initialize): as previous commit, fix arg_check Modified files: trunk/ChangeLog trunk/lib/uri/mailto.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 46489) +++ ChangeLog (revision 46490) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sun Jun 22 09:04:50 2014 NARUSE, Yui <naruse@r...> + + * lib/uri/mailto.rb (initialize): as previous commit, fix arg_check + Sun Jun 22 09:01:47 2014 NARUSE, Yui <naruse@r...> * lib/uri/ftp.rb (initialize): argument checking flag is arg_check, Index: lib/uri/mailto.rb =================================================================== --- lib/uri/mailto.rb (revision 46489) +++ lib/uri/mailto.rb (revision 46490) @@ -138,7 +138,7 @@ module URI https://github.com/ruby/ruby/blob/trunk/lib/uri/mailto.rb#L138 @headers = [] if MAILTO_REGEXP =~ @opaque - if arg[-1] + if arg[10] # arg_check self.to = $1 self.headers = $2 else -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/