You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
url: repeated slashes in file URL should be arranged #11188
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`
Spec is landed:tada:, but let's wait to start implementation till #12058 get a merge since it potentially makes some conflicts in test/src. I'm gonna work on it.
Activity
jasnell commentedon Feb 6, 2017
Will keep an eye on the whatwg/url issue. If that gets fixed upstream we will get it fixed here.
watilde commentedon Mar 29, 2017
Spec is landed:tada:, but let's wait to start implementation till #12058 get a merge since it potentially makes some conflicts in test/src. I'm gonna work on it.
url: trim leading slashes of file URL paths
url: trim leading slashes of file URL paths