url: return valid file: urls fom url.format()
`file:` URLs that do not start with `file://` are invalid. Browsers convert `file:/etc/passwd` to `file:///etc/passwd`. This is also what the docs indicate we are doing, but we're not. PR-URL: https://github.com/nodejs/node/pull/7234 Fixes: https://github.com/nodejs/node/issues/3361 Reviewed-By:Roman Reiss <me@silverwind.io> Reviewed-By:
Brian White <mscdex@mscdex.net>
parent
874839c6
Please register or sign in to comment