Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: felixge/node-formidable
base: master
head fork: shimondoodkin/node-formidable
compare: master
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 2 contributors
Commits on Dec 11, 2010
@shimondoodkin shimondoodkin makes it compatible with nodejs v2.0 on node.js v0.3
add require to a php-like query string parser with a fall-back to nodejs query string parser.
Commits on Dec 16, 2010
@shimondoodkin shimondoodkin And a note about querystring.node.js to readme.
Showing with 8 additions and 1 deletion.
  1. +2 −0 
  2. +6 −1 lib/formidable/querystring_parser.js
2 
@@ -36,6 +36,8 @@ Manually:
Note: Formidable requires [gently]( to run the unit tests, but you won't need it for just using the library.
+Note2: Optionaly to make it support varnames of obj[a][] on node.js v0.3 you should have [querystring.node.js]( installed.
## Example
Parse an incoming file upload.
7 lib/formidable/querystring_parser.js
@@ -2,7 +2,12 @@ if (global.GENTLY) require = GENTLY.hijack(require);
// This is a buffering parser, not quite as nice as the multipart one.
// If I find time I'll rewrite this to be fully streaming as well
-var querystring = require('querystring');
+ var querystring = require('querystring.node.js/querystring');
+ var querystring = require('querystring');
function QuerystringParser() {
this.buffer = '';

No commit comments for this range

Something went wrong with that request. Please try again.