Skip to content
Browse files

Use the qs module instead of node's querystring.

Node's querystring.stringify doesn't support nested objects, so nested
requestData was silently dropped. The qs module provides nested object support.
  • Loading branch information...
1 parent fdb373b commit 031f500bc583d30cbe83d0e12dd84aade8015a8d @michaeltwofish michaeltwofish committed Nov 14, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 package.json
  2. +1 −1 wshttp.js
View
2 package.json
@@ -15,6 +15,6 @@
"url": "https://github.com/fictivekin/webshell.git"
},
"engines": { "node": ">=0.4.0" },
- "dependencies": { "hashlib": ">=1.0.0" },
+ "dependencies": { "hashlib": ">=1.0.0", "qs": "" },
"bin": { "webshell": "./shell.js" }
}
View
2 wshttp.js
@@ -8,7 +8,7 @@ var _ = require('underscore')._,
url = require('url'),
cookies = require('cookies'),
stylize = require('colors').stylize,
- querystring = require('querystring'),
+ querystring = require('qs'),
hashlib = require('hashlib'),
wsutil = require('wsutil');

0 comments on commit 031f500

Please sign in to comment.
Something went wrong with that request. Please try again.