GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||
GeezerVison is showing github.com — lib: add UNC support to url.pathToFileURL() by mceachen · Pull Request #34743 · nodejs/node Conversation
Contributor
Fixes: #34736 Checklist
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
guybedford
approved these changes
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
jasnell
approved these changes
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
|
There was an error while loading. Please reload this page.
|
CI: https://ci.nodejs.org/job/node-test-pull-request/32742/ (💚) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@mceachen ... yeah, that's a known issue. A fix is pending. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| function encodePathChars(filepath) { | ||
| if (filepath.includes('%')) | ||
| filepath = filepath.replace(percentRegEx, '%25'); | ||
| // In posix, "/" is a valid character in paths |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
| // In posix, "/" is a valid character in paths | |
| // In posix, "\" is a valid character in paths |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Ah, good catch. I just moved this comment, btw, when I refactored out the function. Will fix.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
fix mistake in comment
There was an error while loading. Please reload this page.
|
Thanks for the reviews! Is there anything else I need to do for this PR? (I haven't committed to this project before). |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Fixes: #34736 PR-URL: #34743 Reviewed-By: Guy Bedford <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Rich Trott <[email protected]>
|
Landed in 7b8c6b0. Thanks for the contribution! 🎉 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Fixes: #34736 PR-URL: #34743 Reviewed-By: Guy Bedford <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Fixes: #34736 PR-URL: #34743 Reviewed-By: Guy Bedford <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Fixes: #34736 PR-URL: #34743 Reviewed-By: Guy Bedford <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Fixes: #34736 PR-URL: #34743 Reviewed-By: Guy Bedford <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Rich Trott <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
url.pathToFileURL doesn't generate valid URLs for UNC paths
There was an error while loading. Please reload this page.