Skip to content
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

明文模式下的问题 #20

Open
qiuqiu3 opened this issue Oct 21, 2016 · 1 comment
Open

明文模式下的问题 #20

qiuqiu3 opened this issue Oct 21, 2016 · 1 comment

Comments

@qiuqiu3
Copy link

qiuqiu3 commented Oct 21, 2016

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

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

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

@sd4324530
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants