mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
Fix of normalizing paths of form ./../the/rest
This commit is contained in:
1 parent
a5184fe938
commit
06b9c8bf1f
1 file changed
+1
@@ -351,6 +351,7 @@ var pathModule = createInternalModule("path", function (exports) {
|
||||
directory === ".."
|
||||
&& directories.length
|
||||
&& prev !== ".."
|
||||
&& prev !== "."
|
||||
&& prev !== undefined
|
||||
&& (prev !== "" || keepBlanks)
|
||||
) {
|
||||
|
||||
Reference in new issue
Block a user