Permalink
Browse files

Fixed requests that just target the resource.

  • Loading branch information...
rauchg committed May 10, 2011
1 parent 5ddc23f commit 6ed7964f8f70f2c826c9e483cbbfc95f4b1680b3
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/manager.js
View
@@ -543,7 +543,7 @@ Manager.prototype.checkRequest = function (req) {
if (req.url.substr(0, resource.length) == resource) {
var uri = url.parse(req.url.substr(resource.length), true)
- , path = uri.pathname
+ , path = uri.pathname || ''
, pieces = path.match(regexp);
// client request data

0 comments on commit 6ed7964

Please sign in to comment.