Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed requests that just target the resource.

  • Loading branch information...
commit 6ed7964f8f70f2c826c9e483cbbfc95f4b1680b3 1 parent 5ddc23f
@rauchg rauchg authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/manager.js
View
2  lib/manager.js
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.