更新时间:2023-01-25 21:06:33
我认为最新的 tomcat 版本 9.0.33 已修复该错误.
I think the bug has been fixed with latest tomcat version 9.0.33.
在版本 9.0.31 中无法使用的多部分文件上传功能也已通过升级修复.另外,我尝试使用owasp依赖项检查器检查是否存在任何漏洞,发现此版本中没有漏洞.
The multi-part file upload functionality which was not working in version 9.0.31, has also been fixed with the upgrade. Also, I have tried checking if there are any vulnerability using owasp dependency checker and found that there are no vulnerabilities in this version.
只需使用以下版本升级您的依赖项:
<!-- https://mvnrepository.com/artifact/org.apache.tomcat.embed/tomcat-embed-core -->
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-core</artifactId>
<version>9.0.33</version>
</dependency>