Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'refs/heads/upstream'

  • Loading branch information...
commit c07c0d36ca05d85c0ba16d8e41f2d6cedd222292 2 parents e45833a + 80da935
Hunter Loftis authored
View
7 History.md
@@ -1,4 +1,11 @@
+2.0.2 / 2012-03-04
+==================
+
+ * Added test for __ENAMETOOLONG__ now that node is fixed
+ * Fixed static() index "/" check on windows. Closes #498
+ * Fixed Content-Range behaviour to match RFC2616 [matthiasdg / visionmedia]
+
2.0.1 / 2012-02-29
==================
View
2  lib/connect.js
@@ -29,7 +29,7 @@ exports = module.exports = createServer;
* Framework version.
*/
-exports.version = '2.0.1';
+exports.version = '2.0.2';
/**
* Expose the prototype.
View
2  lib/middleware/static.js
@@ -133,7 +133,7 @@ var send = exports.send = function(req, res, next, options){
if (!root && ~path.indexOf('..')) return next(utils.error(403));
// index.html support
- if (normalize('/') == path[path.length - 1]) path += 'index.html';
+ if ('/' == path[path.length - 1]) path += 'index.html';
// join / normalize from optional root dir
path = normalize(join(root, path));
View
2  package.json
@@ -1,6 +1,6 @@
{
"name": "connect",
- "version": "2.0.1",
+ "version": "2.0.2",
"description": "High performance middleware framework",
"keywords": ["framework", "web", "middleware", "connect", "rack"],
"repository": "git://github.com/senchalabs/connect.git",
Please sign in to comment.
Something went wrong with that request. Please try again.