[ruby-cvs:56404] duerst:r49254 (trunk): * lib/uri/mailto.rb: raising URI::InvalidComponentError instead

duerst at ruby-lang.org duerst at ruby-lang.org
Wed Jan 14 18:06:15 JST 2015


duerst	2015-01-14 18:06:13 +0900 (Wed, 14 Jan 2015)

  New Revision: 49254

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=49254

  Log:
    * lib/uri/mailto.rb: raising URI::InvalidComponentError instead
      of failing with undefined method `split' for nil:NilClass for
      mailto: URIs without opaque part. [Bug #10738]
    * test/uri/testuri.rb: Test for above

  Modified files:
    trunk/ChangeLog
    trunk/lib/uri/mailto.rb
    trunk/test/uri/test_mailto.rb


More information about the ruby-cvs mailing list