url: return valid file: urls fom url.format() by Trott · Pull Request #7234 · nodejs/node
added
url
labels
Jun 8, 2016
Trott
mentioned this pull request
3 tasks
`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. Fixes: nodejs#3361
rvagg
mentioned this pull request
Trott added a commit to Trott/io.js that referenced this pull request
Jun 16, 2016`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: nodejs#7234 Fixes: nodejs#3361 Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Brian White <mscdex@mscdex.net>
iarna
mentioned this pull request
Trott
deleted the
fileslashslash
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters