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

FileTypeUtil.getType(inputStream)读取文件名后,原有流就不完整了 #2237

Closed
kannayshu opened this issue Apr 2, 2022 · 1 comment

Comments

@kannayshu
Copy link

Stream只能read一次,FileTypeUtil.getType(inputStream)读取文件名后,这个文件本身就少了一部分,再用该文件流去执行操作,就有问题。
建议:
1、修复;
2、指出这个问题,免得踩坑

@looly
Copy link
Member

looly commented Apr 2, 2022

5.8.0.M3会在注释中说明:

image

@looly looly closed this as completed Apr 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants