aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--lib/uri/mailto.rb2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4ec8855d33..f4c0237c3e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sun Jun 22 09:04:50 2014 NARUSE, Yui <naruse@ruby-lang.org>
+
+ * lib/uri/mailto.rb (initialize): as previous commit, fix arg_check
+
Sun Jun 22 09:01:47 2014 NARUSE, Yui <naruse@ruby-lang.org>
* lib/uri/ftp.rb (initialize): argument checking flag is arg_check,
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