isaacs 65037eeb32 Don't let path.normalize get above the root.
Any path.join or path.normalize that starts with a / will not go "above" that after normalization.  This is important because /../foo is almost *always* some sort of error, and doesn't match the corollary in sh: `cd $p; pwd`

At the worse, this can be a vector for exploits, since a static file server might do path.join(docroot, path.normalize("/"+req)) to get the file.  If the normalized request path could be something like "/../../../etc/passwd" then bad things could happen.
2010-08-01 20:20:17 -07:00
2010-06-29 23:59:24 -07:00
2010-06-23 20:05:29 -07:00
2010-07-31 14:32:59 -07:00
2010-07-27 12:16:48 -07:00
2010-07-01 14:29:50 -07:00
2010-07-30 09:42:36 -07:00
2010-07-25 23:39:58 -07:00
2010-05-11 10:25:27 -07:00
2010-07-12 16:29:42 -07:00
2010-07-14 09:50:17 -07:00
2010-07-27 12:19:08 -07:00

Evented I/O for V8 javascript.

To build:

  ./configure
  make 
  make install

To run the tests:
  
  make test

To build the documentation:

  make doc
 
To read the documentation:

  man doc/node.1

See http://nodejs.org/ for more information. For help and discussion
subscribe to the mailing list by visiting
http://groups.google.com/group/nodejs or by sending an email to
nodejs+subscribe@googlegroups.com.
Languages
JavaScript 65.4%
C++ 22.6%
Python 8.4%
C 2.1%
HTML 0.5%
Other 0.8%