url: trim leading slashes of file URL paths · nodejs/node@5a27f63 · GitHub
Skip to content

Commit 5a27f63

Browse files
watildeevanlucas
authored andcommitted
url: trim leading slashes of file URL paths
It should trim the slashes after the colon into three for file URL. PR-URL: #12507 Refs: web-platform-tests/wpt#5195 Fixes: #11188 Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent b50a84a commit 5a27f63

3 files changed

Lines changed: 393 additions & 10 deletions

File tree

src/node_url.cc

Lines changed: 16 additions & 6 deletions

test/fixtures/url-setter-tests.js

Lines changed: 28 additions & 1 deletion

0 commit comments

Comments
 (0)