Browse Source

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

v0.7.4-release
Herbert Vojcik 15 years ago
committed by Ryan Dahl
parent
commit
06b9c8bf1f
  1. 1
      src/node.js

1
src/node.js

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

Loading…
Cancel
Save