| ... | ... | @@ -908,6 +908,7 @@ const FileType = enum { |
| 908 | 908 | if (ascii.endsWithIgnoreCase(file_path, ".tzst")) return .@"tar.zst"; |
| 909 | 909 | if (ascii.endsWithIgnoreCase(file_path, ".tar.zst")) return .@"tar.zst"; |
| 910 | 910 | if (ascii.endsWithIgnoreCase(file_path, ".zip")) return .zip; |
| 911 | if (ascii.endsWithIgnoreCase(file_path, ".jar")) return .zip; |
| 911 | 912 | return null; |
| 912 | 913 | } |
| 913 | 914 | |
| ... | ... | @@ -1130,6 +1131,9 @@ fn unpackResource( |
| 1130 | 1131 | if (ascii.eqlIgnoreCase(mime_type, "application/zip")) |
| 1131 | 1132 | break :ft .zip; |
| 1132 | 1133 | |
| 1134 | if (ascii.eqlIgnoreCase(mime_type, "application/java-archive")) |
| 1135 | break :ft .zip; |
| 1136 | |
| 1133 | 1137 | if (!ascii.eqlIgnoreCase(mime_type, "application/octet-stream") and |
| 1134 | 1138 | !ascii.eqlIgnoreCase(mime_type, "application/x-compressed")) |
| 1135 | 1139 | { |