Update common-node.js

This commit is contained in:
Gus Caplan 2017-02-21 17:16:18 -06:00 committed by GitHub
parent 9962d31e69
commit e771c0f57e

View File

@ -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 })
}
/**