Commit a0adf56
committed
path: fix regression in posix.normalize
Fixes a regression introduced in [1].
The posix version of normalize should not treat backslash as a path
separator.
[1] nodejs@4ae320f2
PR-URL: nodejs#19520
Fixes: nodejs#19519
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent b41ed29 commit a0adf56
2 files changed
Lines changed: 17 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
47 | 51 | | |
48 | 52 | | |
49 | 53 | | |
50 | 54 | | |
51 | 55 | | |
52 | 56 | | |
53 | | - | |
| 57 | + | |
54 | 58 | | |
55 | 59 | | |
56 | 60 | | |
| |||
272 | 276 | | |
273 | 277 | | |
274 | 278 | | |
275 | | - | |
| 279 | + | |
| 280 | + | |
276 | 281 | | |
277 | 282 | | |
278 | 283 | | |
| |||
363 | 368 | | |
364 | 369 | | |
365 | 370 | | |
366 | | - | |
367 | | - | |
368 | | - | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
369 | 375 | | |
| 376 | + | |
370 | 377 | | |
371 | 378 | | |
372 | 379 | | |
| |||
1095 | 1102 | | |
1096 | 1103 | | |
1097 | 1104 | | |
1098 | | - | |
| 1105 | + | |
| 1106 | + | |
1099 | 1107 | | |
1100 | 1108 | | |
1101 | 1109 | | |
| |||
1121 | 1129 | | |
1122 | 1130 | | |
1123 | 1131 | | |
1124 | | - | |
| 1132 | + | |
1125 | 1133 | | |
1126 | 1134 | | |
1127 | 1135 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| 72 | + | |
0 commit comments