mirror of
https://github.com/webtorrent/bittorrent-tracker.git
synced 2025-02-23 05:39:03 +00:00
Update common-node.js
This commit is contained in:
parent
9962d31e69
commit
e771c0f57e
@ -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 })
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user