diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-01 15:09:41 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-01 15:09:41 +0000 |
commit | f299672ca6c1c244042d725d2658f09dc279caed (patch) | |
tree | a0bd2fe2f6aa42658b94ad81876aa065fe0a7804 /main.c | |
parent | b3ec994bc257fa988d5b88da71a64c924fd17a11 (diff) | |
download | ruby-f299672ca6c1c244042d725d2658f09dc279caed.tar.gz |
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
Diffstat (limited to 'main.c')
0 files changed, 0 insertions, 0 deletions