body-parser
body-parser copied to clipboard
Node.js body parsing middleware
This is a tracking issue for release 2.0. I am trying to give better visibility for upcoming changes and so am trying out making a PR for a release here,...
This is really the same as #98 but that issue has been locked. The original rational for not adding the ability to pass configuration parameters to `qs` was that package...
This is just such a basic type of the web, it's hard to keep ignoring it. Because of the pattern of this module, though, we really cannot support files. But...
Eran Hammer posted an article on __proto__ poisoning and his solution in joi/hapi: https://hueniverse.com/a-tale-of-prototype-poisoning-2610fa170061 @rgrove posted a simple implementation of a fix for this: https://gist.github.com/rgrove/3ea9421b3912235e978f55e291f19d5d However the fix requires a...
it would be nice that body-parser sets the length of the body, my use case is I'd like to know the length of a JSON payload POSTED using chunked-encoding, so...
Is there an option to use a non blocking (streaming?) json parser ? The problem with JSON.parse is that it's blocking the event loop and for big json parsing it...
Node >= 8.0 introduced an issue in querystring.parse (see here https://github.com/nodejs/node/issues/13773) that will affect all users of body-parser. It occurs when there is a trailing whitespace in a query string...
`body-parser` and `express-validator` are both commonly used packages to process HTML forms. They are a pretty good fit aswell, since the parser allows the parsing of nested objects, and the...
looks like there's an unnecessary charset check in `lib/types/urlencoded.js`? ```js // assert charset var charset = getCharset(req) || 'utf-8' if (charset !== 'utf-8') { debug('invalid charset') next(createError(415, 'unsupported charset "'...
If you look at the middleware, after I had refactored it, all they are is a call to `typeis` and a call to `read`. We should add something like `bodyParser.generic()`...