mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-08-27 06:39:24 +00:00
Update common/src/main/java/stirling/software/common/service/TaskManager.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
f19ff6691d
commit
0d967aa5ea
@ -334,8 +334,7 @@ public class TaskManager {
|
||||
*/
|
||||
private boolean isZipFile(String contentType, String fileName) {
|
||||
if (contentType != null && (contentType.equals("application/zip") ||
|
||||
contentType.equals("application/x-zip-compressed") ||
|
||||
contentType.equals(MediaType.APPLICATION_OCTET_STREAM_VALUE))) {
|
||||
contentType.equals("application/x-zip-compressed"))) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user