mirror of
https://github.com/webtorrent/bittorrent-tracker.git
synced 2025-02-24 06:09:04 +00:00
Update common-node.js
This commit is contained in:
parent
9962d31e69
commit
e771c0f57e
@ -52,11 +52,7 @@ exports.toUInt32 = toUInt32
|
|||||||
* @return {Object}
|
* @return {Object}
|
||||||
*/
|
*/
|
||||||
exports.querystringParse = function (q) {
|
exports.querystringParse = function (q) {
|
||||||
var saved = querystring.unescape
|
return querystring.parse(q, { decodeURIComponent: unescape })
|
||||||
querystring.unescape = unescape // global
|
|
||||||
var ret = querystring.parse(q)
|
|
||||||
querystring.unescape = saved
|
|
||||||
return ret
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user