Skip to content

Commit

Permalink
Fixed requests that just target the resource.
Browse files Browse the repository at this point in the history
  • Loading branch information
rauchg committed May 10, 2011
1 parent 5ddc23f commit 6ed7964
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6ed7964

Please sign in to comment.