1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/uri
naruse ed48bfa5e8 Append "//" if empty host for file or postgres URI
https://url.spec.whatwg.org/#url-serializing
> Otherwise, if url’s host is null and url’s scheme is "file", append "//" to output.

URL spec doesn't says anything about postgres, but assume the same thing.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-12-01 15:09:41 +00:00
..
common.rb Use caller with length to reduce unused strings 2017-10-21 14:40:03 +00:00
ftp.rb ftp.rb: fix example format [ci skip] 2017-08-15 01:05:50 +00:00
generic.rb Append "//" if empty host for file or postgres URI 2017-12-01 15:09:41 +00:00
http.rb Remove commented out code of URI::HTTP.new. 2017-09-11 06:12:40 +00:00
https.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
ldap.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
ldaps.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
mailto.rb Use URI.decode_www_form_component [Bug #10774] 2016-12-12 15:24:28 +00:00
rfc2396_parser.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
rfc3986_parser.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00