On Mon, Oct 15, 2012 at 10:39 AM, Aivis Siliņš <
aivis....@gmail.com> wrote:
>> var querystring = require('querystring');
>> querystring.stringify({ foo: '!'});
>
> Actual output:
> 'foo=!'
>
> Expected output:
> 'foo=%21'
>
> Why node.js query string don't encode some chars?
Because it's in the RFC. You can find the details in section 2.2 of RFC 1738.