Skip to content

Commit

Permalink
parse url queries
Browse files Browse the repository at this point in the history
  • Loading branch information
pvorb committed Nov 24, 2011
1 parent 349ba96 commit a8ec03c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api.js
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion package.json
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit a8ec03c

Please sign in to comment.