ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:68201] [Backport200 - Backport #10873] [Open] backport r48666 lib/uri/generic.rb (URI::Generic.build)
       [not found] <redmine.issue-10873.20150220202044@ruby-lang.org>
@ 2015-02-20 20:20 ` jrafanie
  2015-02-21  0:40 ` [ruby-core:68204] [Backport200 - Backport #10873] " usa
  1 sibling, 0 replies; 2+ messages in thread
From: jrafanie @ 2015-02-20 20:20 UTC (permalink / raw
  To: ruby-core

Issue #10873 has been reported by Joe Rafaniello.

----------------------------------------
Backport #10873: backport r48666 lib/uri/generic.rb (URI::Generic.build)
https://bugs.ruby-lang.org/issues/10873

* Author: Joe Rafaniello
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
Fix URI::Generic.build to properly build IPv6 host values with square brackets.

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.

https://github.com/ruby/ruby/commit/4ec9793ba88b27028c826c6bc6c49ee59df8d920
https://github.com/ruby/ruby/pull/765



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ruby-core:68204] [Backport200 - Backport #10873] backport r48666 lib/uri/generic.rb (URI::Generic.build)
       [not found] <redmine.issue-10873.20150220202044@ruby-lang.org>
  2015-02-20 20:20 ` [ruby-core:68201] [Backport200 - Backport #10873] [Open] backport r48666 lib/uri/generic.rb (URI::Generic.build) jrafanie
@ 2015-02-21  0:40 ` usa
  1 sibling, 0 replies; 2+ messages in thread
From: usa @ 2015-02-21  0:40 UTC (permalink / raw
  To: ruby-core

Issue #10873 has been updated by Usaku NAKAMURA.


r48666

----------------------------------------
Backport #10873: backport r48666 lib/uri/generic.rb (URI::Generic.build)
https://bugs.ruby-lang.org/issues/10873#change-51571

* Author: Joe Rafaniello
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
Fix URI::Generic.build to properly build IPv6 host values with square brackets.

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.

https://github.com/ruby/ruby/commit/4ec9793ba88b27028c826c6bc6c49ee59df8d920
https://github.com/ruby/ruby/pull/765



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-21  0:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <redmine.issue-10873.20150220202044@ruby-lang.org>
2015-02-20 20:20 ` [ruby-core:68201] [Backport200 - Backport #10873] [Open] backport r48666 lib/uri/generic.rb (URI::Generic.build) jrafanie
2015-02-21  0:40 ` [ruby-core:68204] [Backport200 - Backport #10873] " usa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).