encode stats value

This commit is contained in:
xmcp
2019-05-13 21:49:49 +08:00
parent d2d7390514
commit af32058e99

View File

@@ -33,7 +33,7 @@
var config=JSON.parse(localStorage['hole_config']||'{}');
for(var key in config)
if(config.hasOwnProperty(key))
_czc.push(["_setCustomVar","config_"+key,JSON.stringify(config[key]),0]);
_czc.push(["_setCustomVar","config_"+key,encodeURIComponent(JSON.stringify(config[key])),0]);
} catch(e) {
console.trace(e);
}