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

This commit is contained in:
Herbert Vojcik 2010-04-09 14:22:00 +02:00 committed by Ryan Dahl
parent a5184fe938
commit 06b9c8bf1f

View File

@ -351,6 +351,7 @@ var pathModule = createInternalModule("path", function (exports) {
directory === ".."
&& directories.length
&& prev !== ".."
&& prev !== "."
&& prev !== undefined
&& (prev !== "" || keepBlanks)
) {