mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
c56dab2ceb
commit
97d36e5bd0
2 changed files with 5 additions and 1 deletions
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue