报告一个bug

小程序 文章 2020-09-03 23:41 513 0 全屏看文

AI助手支持GPT4.0

报告一个bugReport a bug

报告一个bug

https://developers.weixin.qq.com/doc/offiaccount/Basic_Information/Access_Overview.html

第二步:验证消息的确来自微信服务器

传递get的时候?signature=SIGNATURE×tamp=TIMESTAMP中

“×”被转义成"×"

https://developers.weixin.qq.com/doc/offiaccount/Basic_ Information/Access_ Overview.html Step 2: verify that the message really comes from the wechat server. When the get is delivered, the "×" in signature = signature × stamp = timestamp is escaped to "×"

回答:

stop eating:


青寒:
?signature=SIGNATURE×tamp=TIMESTAMP?signature=SIGNATURE&timestamp=TIMESTAMP
青寒:把&都转义处理,或者timestamp放在第一个参数位置。
Disgusting.:这是公众号填写服务器url 提交时候给我的服务器发的get请求啊
青寒:实际的公众号服务器对接验证没问题的,是不是你模拟测试公众号访问自己服务器直接写的带参数URL,然后遇到上面的转义问题。
Disgusting.:我就是用实际的公众号对接验证的,我直接返回get'echostr'都不行echostr后面就是timestamp
青寒:私信。
Disgusting.:

连这个都会被转义掉……

"×tamp"中的"×"被转义成"×"

-EOF-

AI助手支持GPT4.0