提交 d2fa47e5 编写于 作者: 蔡祥熠

Merge branch 'fix/sso.html' into 'wrdp'

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{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册