Fix of normalizing paths of form ./../the/rest

This commit is contained in:
Herbert Vojcik authored and Ryan Dahl committed 2010-04-09 08:01:36 -07:00
1 parent a5184fe938
commit 06b9c8bf1f
1 file changed
+1
+1
View File
@@ -351,6 +351,7 @@ var pathModule = createInternalModule("path", function (exports) {
directory === ".."
&& directories.length
&& prev !== ".."
&& prev !== "."
&& prev !== undefined
&& (prev !== "" || keepBlanks)
) {