diff options
author | root <root@rshg054.dnsready.net> | 2013-03-24 00:48:02 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-03-24 00:48:02 -0700 |
commit | 31416859638d756d88136e4e0eb78027c16ac17f (patch) | |
tree | ba60745c928ce1e6525cd1994b3009016fa11c55 /community/meteorjs/node010.patch | |
parent | bfffe04eef66a8556e972c888cc854a202b307d9 (diff) |
Sun Mar 24 00:47:57 PDT 2013
Diffstat (limited to 'community/meteorjs/node010.patch')
-rw-r--r-- | community/meteorjs/node010.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/community/meteorjs/node010.patch b/community/meteorjs/node010.patch new file mode 100644 index 000000000..8b252399d --- /dev/null +++ b/community/meteorjs/node010.patch @@ -0,0 +1,11 @@ +--- lib/node_modules/connect/lib/middleware/static.js.orig 2013-03-23 13:30:36.479309260 +0100 ++++ lib/node_modules/connect/lib/middleware/static.js 2013-03-23 13:30:13.661917828 +0100 +@@ -126,7 +126,7 @@ + if (!root && ~path.indexOf('..')) return utils.forbidden(res); + + // join / normalize from optional root dir +- path = normalize(join(root, path)); ++ path = normalize(join(root || '', path)); + + // malicious path + if (root && 0 != path.indexOf(root)) return fn |