-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
发送特殊字符会回复公众号故障 #420
Comments
麻烦贴一下后台的 log |
Traceback (most recent call last): |
没什么头绪……… 这个 XML 确实是 not well-formed.
有办法知道这是什么字符吗? |
微信好像没有对字符进行有效的处理,导致返回给 werobot 的 XML 是错误的。 XML 1.0 中有效的字符为
问题中的 |
现在依旧 |
对 Bug 的描述
发送的字符串服务器收到的信息为
<xml> <ToUserName><![CDATA[gh_***]]></ToUserName>\n <FromUserName><![CDATA[opid***]]></FromUserName>\n <CreateTime>1551481349</CreateTime>\n <MsgType><![CDATA[text]]></MsgType>\n <Content><![CDATA[ \x1dc]]></Content>\n <MsgId>22211872600753510</MsgId>\n <Encrypt><![CDATA[***]]></Encrypt>\n </xml>
发送该内容后,无法解析这个xml,导致前端会出现公众号故障的提示
环境
复现代码或 repo 链接
复现步骤
其他信息
The text was updated successfully, but these errors were encountered: