-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
Closed
Labels
pathIssues and PRs related to the path subsystem.Issues and PRs related to the path subsystem.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.
Description
It seems that versions prior v6 are not affected.
- Version: v6
- Platform: windows
- Subsystem: path
Tests:
- Windows 10 with node 4.5.0:
c:\>node -e "console.log(require('path').relative('.','\\\\VBOXSRV\\vagrant'))"
returns: \\VBOXSRV\vagrant\
- Windows 10 with node 6.5.0:
c:\>node -e "console.log(require('path').relative('.','\\\\VBOXSRV\\vagrant'))"
returns: VBOXSRV\vagrant\
(the leading backslashes are missing)
expected: \\VBOXSRV\vagrant\
Related issue: nodejs/nan#601
Metadata
Metadata
Assignees
Labels
pathIssues and PRs related to the path subsystem.Issues and PRs related to the path subsystem.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
Fix path.relative UNC path result
path: fix path.relative UNC path result
path: fix path.relative UNC path result
path.relative
#10528