Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'master' of git://github.com/senchalabs/connect into ups…

…tream
  • Loading branch information...
commit 80da935d1ce1f0a0c215cf06b76c1042a1601443 2 parents e45833a + 13dc2be
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.