From 15322fb887e38fb484359b92b9dcdc77ffd65926 Mon Sep 17 00:00:00 2001 From: Denis Staci Date: Thu, 29 Jul 2021 10:55:31 +0300 Subject: [PATCH 1/2] Added new zip mime-types --- mime.types.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/mime.types.php b/mime.types.php index 27eaabf..9e16c8a 100644 --- a/mime.types.php +++ b/mime.types.php @@ -33,6 +33,8 @@ array ( 0 => 'application/x-gzip', 1 => 'application/zip', + 2 => 'application/x-zip-compressed', + 3 => 'application/x-zip', ), 'amr' => array ( @@ -6499,6 +6501,14 @@ array ( 0 => 'zip', ), + 'application/x-zip-compressed' => + array ( + 0 => 'zip', + ), + 'application/x-zip' => + array ( + 0 => 'zip', + ), 'audio/adpcm' => array ( 0 => 'adp', From 2253e274257f7f4c9819b7c2d4e1b601cceb3524 Mon Sep 17 00:00:00 2001 From: Denis Staci Date: Thu, 29 Jul 2021 11:38:26 +0300 Subject: [PATCH 2/2] Added new zip mime-types --- mime.types.custom | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mime.types.custom b/mime.types.custom index f225204..62e93b9 100644 --- a/mime.types.custom +++ b/mime.types.custom @@ -18,3 +18,5 @@ image/jpeg jpg jpeg jpe image/x-ms-bmp bmp text/php php text/x-php php +multipart/x-zip zip +application/x-zip-compressed zip \ No newline at end of file