Commit 0b631bb
lib: handle windows reserved device names on UNC
We have found that UNC paths weren't covered
when .join/.normalize windows reserved device
names (COM1, LPT1).
PR-URL: #59286
Backport-PR-URL: #59831
Reviewed-By: Robert Nagy <ronagy@icloud.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 9cc89f5 commit 0b631bbCopy full SHA for 0b631bb
File tree
Expand file treeCollapse file tree
3 files changed
+60
-0
lines changedOpen diff view settings
Filter options
- lib
- test/parallel
Expand file treeCollapse file tree
3 files changed
+60
-0
lines changedOpen diff view settings
Collapse file
+37Lines changed: 37 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
415 | 415 | |
416 | 416 | |
417 | 417 | |
| 418 | + |
| 419 | + |
| 420 | + |
| 421 | + |
| 422 | + |
| 423 | + |
| 424 | + |
418 | 425 | |
419 | 426 | |
420 | 427 | |
| ||
573 | 580 | |
574 | 581 | |
575 | 582 | |
| 583 | + |
| 584 | + |
| 585 | + |
| 586 | + |
| 587 | + |
| 588 | + |
| 589 | + |
| 590 | + |
| 591 | + |
| 592 | + |
| 593 | + |
| 594 | + |
| 595 | + |
| 596 | + |
| 597 | + |
| 598 | + |
| 599 | + |
| 600 | + |
| 601 | + |
| 602 | + |
| 603 | + |
| 604 | + |
| 605 | + |
| 606 | + |
| 607 | + |
| 608 | + |
| 609 | + |
| 610 | + |
| 611 | + |
| 612 | + |
576 | 613 | |
577 | 614 | |
578 | 615 | |
|
Collapse file
test/parallel/test-path-join.js
Copy file name to clipboardExpand all lines: test/parallel/test-path-join.js+8Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
110 | 110 | |
111 | 111 | |
112 | 112 | |
| 113 | + |
| 114 | + |
| 115 | + |
| 116 | + |
| 117 | + |
| 118 | + |
| 119 | + |
| 120 | + |
113 | 121 | |
114 | 122 | |
115 | 123 | |
|
Collapse file
test/parallel/test-path-win32-normalize-device-names.js
Copy file name to clipboardExpand all lines: test/parallel/test-path-win32-normalize-device-names.js+15Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
9 | 9 | |
10 | 10 | |
11 | 11 | |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
12 | 25 | |
13 | 26 | |
14 | 27 | |
| ||
81 | 94 | |
82 | 95 | |
83 | 96 | |
| 97 | + |
| 98 | + |
84 | 99 | |
85 | 100 | |
86 | 101 | |
|
0 commit comments