Don't encode urls in querystring stringify

node.js, query-string

Solution

Not directly, no. Although, if you are not escaping the value in the query string then there is hardly any benefit to using querystring at all. Mind as well just do: `var q = 'url=http://domain.com'`

EDIT: From looking at the source, the only way would be to change the behavior of (i.e. overwrite) the querystring escape() function - which is possible but not a good idea.

Problem

Is there any option for `qs.stringify` that will not encode the urls? ``` $ node > var qs = require("querystring"); undefined > qs.stringify({"url": "http://domain.com"}); 'url=http%3A%2F%2Fdomain.com' ``` I want the folowing output: ``` 'url=http://domain.com' ```

Original source