[ruby-cvs:69912] naruse:r62767 (trunk): Introduce URI::File to handle file URI scheme

naruse at ruby-lang.org naruse at ruby-lang.org
Fri Mar 16 01:51:31 JST 2018


naruse	2018-03-16 01:51:31 +0900 (Fri, 16 Mar 2018)

  New Revision: 62767

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

  Log:
    Introduce URI::File to handle file URI scheme
    
    * the default value of URI::File's authority is "" (localhost).
      Both nil and "localhost" is normalized to "" by default.
    * URI::File ignores setting userinfo and port
    [Feature #14035]
    fix https://github.com/ruby/ruby/pull/1719
    fic https://github.com/ruby/ruby/pull/1832

  Added files:
    trunk/lib/uri/file.rb
    trunk/test/uri/test_file.rb
  Modified files:
    trunk/NEWS
    trunk/lib/uri.rb


More information about the ruby-cvs mailing list