[#84280] [Ruby trunk Bug#14181] hangs or deadlocks from waitpid, threads, and trapping SIGCHLD — nobu@...
Issue #14181 has been updated by nobu (Nobuyoshi Nakada).
3 messages
2017/12/15
[#84398] [Ruby trunk Bug#14220] WEBrick changes - failures on MSWIN, MinGW — Greg.mpls@...
Issue #14220 has been reported by MSP-Greg (Greg L).
3 messages
2017/12/22
[#84472] Re: [ruby-dev:50394] [Ruby trunk Bug#14240] warn four special variables: $; $, $/ $\ — Eric Wong <normalperson@...>
Shouldn't English posts be on ruby-core instead of ruby-dev?
3 messages
2017/12/26
[ruby-core:84098] [Ruby trunk Bug#9912] URI#to_s with an empty host formats the string incorrectly
From:
duerst@...
Date:
2017-12-05 07:32:27 UTC
List:
ruby-core #84098
Issue #9912 has been updated by duerst (Martin D端rst).
[I wrote this directly to ruby-core because I didn't see the issue, but want to make sure it's in the right place.]
The "postgres:" URI scheme isn't even mentioned in the registry at https://www.iana.org/assignments/uri-schemes/uri-schemes.xhtml, so I'm not really sure we should deal with it in a special way.
In more general terms, creating exceptions for schemes is a bad idea, even if it may look like a good idea.
----------------------------------------
Bug #9912: URI#to_s with an empty host formats the string incorrectly
https://bugs.ruby-lang.org/issues/9912#change-68197
* Author: deafbybeheading (Maciek Sakrejda)
* Status: Closed
* Priority: Normal
* Assignee: naruse (Yui NARUSE)
* Target version:
* ruby -v: ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
maciek@gamera:~$ ruby -e "puts URI.parse('postgres:///foo').to_s"
postgres:/foo
The string of the formatted URI should be 'postgres:///foo'.
Postgres uses empty-host URIs to indicate a Unix socket connection should be used instead of a TCP connection (which is used if you specify 'localhost' as host), so this can be very useful.
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>