Merge of fix/sso.html 修复sso.html中xtoken带特殊字符的问题 to wrdp See merge request o2oa/o2oa!3029
@@ -44,7 +44,7 @@
}.bind(this)
});
res.setHeader("Content-Type", "application/json; charset=utf-8");
- var json = {"token": xtoken, "client": client};
+ var json = {"token": encodeURIComponent(xtoken), "client": client};
res.send(JSON.encode(json));
}else{