[ruby-cvs:57056] nagachika:r49907 (ruby_2_1): merge revision(s) r48666: [Backport #10875]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Mon Mar 9 22:00:18 JST 2015


nagachika	2015-03-09 22:00:13 +0900 (Mon, 09 Mar 2015)

  New Revision: 49907

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

  Log:
    merge revision(s) r48666: [Backport #10875]
    
    * lib/uri/generic.rb (URI::Generic.build):
      use hostname= to detect and wrap IPv6 hosts.
      Build is accepting URI components and users may not expect
      that a host component needs to be wrapped with square brackets
      since it's not providing a URI.
      Note: initialize with arg_check => true does not wrap IPv6 hosts.
      by Joe Rafaniello <jrafanie at redhat.com>
      https://github.com/ruby/ruby/pull/765 fix GH-765
    
    * test/uri/test_generic.rb: Add more tests

  Modified directories:
    branches/ruby_2_1/
  Modified files:
    branches/ruby_2_1/ChangeLog
    branches/ruby_2_1/lib/uri/generic.rb
    branches/ruby_2_1/test/uri/test_generic.rb
    branches/ruby_2_1/version.h


More information about the ruby-cvs mailing list