From 97d36e5bd0fd062fb1c1922d08170038aba61baa Mon Sep 17 00:00:00 2001 From: naruse Date: Sun, 22 Jun 2014 00:22:15 +0000 Subject: lib/uri/mailto.rb (initialize): as previous commit, fix arg_check git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/uri/mailto.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/uri/mailto.rb') diff --git a/lib/uri/mailto.rb b/lib/uri/mailto.rb index 079340cf58..03155fb917 100644 --- a/lib/uri/mailto.rb +++ b/lib/uri/mailto.rb @@ -138,7 +138,7 @@ module URI @headers = [] if MAILTO_REGEXP =~ @opaque - if arg[-1] + if arg[10] # arg_check self.to = $1 self.headers = $2 else -- cgit v1.2.3