diff --git a/api.js b/api.js old mode 100644 new mode 100755 index d2ba8ddb3..f7734a7c1 --- a/api.js +++ b/api.js @@ -24,7 +24,7 @@ function Server () { var method, path; - req.urlParsed= url.parse(req.url); + req.urlParsed = url.parse(req.url, true, true); path = req.urlParsed.pathname; if (this.listeners(path).length > 0) diff --git a/package.json b/package.json old mode 100644 new mode 100755 index 7a77c6944..d7666e11f --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "name": "api", "description": "A server framework for easy routing", "tags": [ "server", "middleware", "router" ], - "version": "0.1.2", + "version": "0.1.3", "repository": { "type": "git", "url": "git://github.com/pvorb/node-api.git"