querystring: don't stringify bad surrogate pair
authorBrian White <mscdex@mscdex.net>
Wed, 23 Mar 2016 08:45:46 +0000 (04:45 -0400)
committerMyles Borins <mborins@us.ibm.com>
Mon, 11 Apr 2016 15:10:47 +0000 (11:10 -0400)
commit65fc4e36ce4890171a19f00f3c40c13cf25b5218
treebc41c815e6414fd1e77339c48f0dfced1f4ea94d
parentaed22d0855ef6ae64b798b232f10013a87d7f0e1
querystring: don't stringify bad surrogate pair

Fixes: https://github.com/nodejs/node/issues/3702
PR-URL: https://github.com/nodejs/node/pull/5858
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
lib/querystring.js
test/parallel/test-querystring.js