cojs / co-body

Parse request bodies with co
MIT License
325 stars 42 forks source link

Prevent parse.form from including query string #50

Closed Eric24 closed 7 years ago

Eric24 commented 7 years ago

Is there a quick way (i.e. option setting) to prevent the query string from being included in the parsed output of a form-data body?

dead-horse commented 7 years ago

we didn't include query string when parse form body, https://github.com/cojs/co-body/blob/master/lib/form.js#L46 the second argument queryString is the configurations of qs to parse the request body.