On Mon, Oct 15, 2012 at 10:39 AM, Aivis Siliņš <[email protected]> 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. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
