[ruby-cvs:56819] usa:r49669 (ruby_2_0_0): merge revision(s) 48666: [Backport #10873]

usa at ruby-lang.org usa at ruby-lang.org
Sat Feb 21 09:49:39 JST 2015


usa	2015-02-21 09:49:36 +0900 (Sat, 21 Feb 2015)

  New Revision: 49669

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

  Log:
    merge revision(s) 48666: [Backport #10873]
    
    * 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_0_0/
  Modified files:
    branches/ruby_2_0_0/ChangeLog
    branches/ruby_2_0_0/lib/uri/generic.rb
    branches/ruby_2_0_0/test/uri/test_generic.rb
    branches/ruby_2_0_0/version.h


More information about the ruby-cvs mailing list