From e771c0f57ed4414d7721c4dcf649768b9eaadfd2 Mon Sep 17 00:00:00 2001 From: Gus Caplan Date: Tue, 21 Feb 2017 17:16:18 -0600 Subject: [PATCH] Update common-node.js --- lib/common-node.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/common-node.js b/lib/common-node.js index 8c18f1c..5d9f2e5 100644 --- a/lib/common-node.js +++ b/lib/common-node.js @@ -52,11 +52,7 @@ exports.toUInt32 = toUInt32 * @return {Object} */ exports.querystringParse = function (q) { - var saved = querystring.unescape - querystring.unescape = unescape // global - var ret = querystring.parse(q) - querystring.unescape = saved - return ret + return querystring.parse(q, { decodeURIComponent: unescape }) } /**