Closed
Description
In the http scheme, the slashes after the colon are brought together in two, but it seems that it remains as it is in the file scheme.
const URL = require('url').URL
new URL('http://////example.com').href
// => 'http://example.com/'
new URL('file://////foo/bar').href
// => 'file://////foo/bar'
// it should be `file:///foo/bar`
Issue report on the spec: whatwg/url#232