summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--file.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/file.c b/file.c
index bb7121bbd..6063c72b6 100644
--- a/file.c
+++ b/file.c
@@ -233,6 +233,10 @@ static int open_by_filename(const char *filename, const char *fmt, struct memblo
if (!strcasecmp(fmt, "DLD"))
return try_to_open_zip(filename, mem, error);
+ /* Give a shot for plain ZIP */
+ if (!strcasecmp(fmt, "ZIP"))
+ return try_to_open_zip(filename, mem, error);
+
#if ONCE_COCHRAN_IS_SUPPORTED
/* Truly nasty intentionally obfuscated Cochran Anal software */
if (!strcasecmp(fmt, "CAN"))