fastweixin icon indicating copy to clipboard operation
fastweixin copied to clipboard

明文模式下的问题

Open qiuqiu3 opened this issue 8 years ago • 1 comments

明文模式下 aesKey是为空的,如果把空值传入 parseXml 函数

parseXml(HttpServletRequest request, String token, String appId, String aesKey)

那么 inputStream 成员就没有数据下面的代码就会抛出异常。 有些情况不能用兼容模式或者安全模式(服务器没有打安全策略补丁),只可以用明文模式也是很常见的,我觉得这是个重大 BUG。

qiuqiu3 avatar Oct 21 '16 09:10 qiuqiu3

可以把出现这个问题时的日志以及当时的配置代码贴出来看看吗

sd4324530 avatar Oct 22 '16 11:10 sd4324530