FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

path: fix toNamespacedPath on Windows by huseyinacacak-janea · Pull Request #52915 · nodejs/node · GitHub

/ node Public

path: fix toNamespacedPath on Windows - #52915

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
JaneaSystems:huseyin-30224-fix-namespacedpath-inconsistency
May 13, 2024
Merged

path: fix toNamespacedPath on Windows#52915
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
JaneaSystems:huseyin-30224-fix-namespacedpath-inconsistency

Conversation

Copy link
Copy Markdown
Contributor

There was an inconsistency in the implementation of win32.toNamespacedPath(). It appears that the forward slash / wasn't consistently being converted to a backslash \. This PR fixes this issue by returning resolvedPath in the toNamespacedPath().

I've also added a test case to make sure that there will not be any regression.

Fixes: #30224

nodejs-github-bot added needs-ci PRs that need a full CI run. path Issues and PRs related to the path subsystem. labels May 9, 2024
richardlau added the request-ci Add this label to start a Jenkins CI on a PR. label May 9, 2024
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label May 9, 2024

Copy link
Copy Markdown
Collaborator

avivkeller left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM

Tip

My review, while it shows my support, is not blocking/approving.

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Contributor Author

Is there anything else I can do to help this PR move forward?

richardlau added the commit-queue Add this label to land a pull request using GitHub Actions. label May 13, 2024
nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label May 13, 2024
nodejs-github-bot merged commit dcd8b82 into nodejs:main May 13, 2024

Copy link
Copy Markdown
Collaborator

Landed in dcd8b82

targos pushed a commit that referenced this pull request May 15, 2024
PR-URL: #52915
Fixes: #30224
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
marco-ippolito pushed a commit that referenced this pull request Jun 17, 2024
PR-URL: #52915
Fixes: #30224
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
soophoo pushed a commit to soophoo/node that referenced this pull request Jun 20, 2024
PR-URL: nodejs#52915
Fixes: nodejs#30224
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-ci PRs that need a full CI run. path Issues and PRs related to the path subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inconsistent results for path.toNamespacedPath() for win32 UNC paths

6 participants


Back | FazBrowse Home | New Git URL