diff --git a/foxes.php b/foxes.php index becebef..1d8a35f 100644 --- a/foxes.php +++ b/foxes.php @@ -109,7 +109,7 @@ function mime2ext($mime) { 'application/x-pkcs7-certreqresp' => 'p7r', 'application/pkcs7-signature' => 'p7s', 'application/pdf' => 'pdf', - 'application/octet-stream' => 'pdf', + 'application/octet-stream' => 'bin', 'application/x-x509-user-cert' => 'pem', 'application/x-pem-file' => 'pem', 'application/pgp' => 'pgp', @@ -145,6 +145,11 @@ function mime2ext($mime) { 'application/x-shockwave-flash' => 'swf', 'application/x-tar' => 'tar', 'application/x-gzip-compressed' => 'tgz', + 'application/x-gzip' => 'gz', + 'application/gzip' => 'gz', + 'application/x-xz' => 'xz', + 'application/xz' => 'xz', + 'application/zstd' => 'zstd', 'image/tiff' => 'tiff', 'text/plain' => 'txt', 'text/x-vcard' => 'vcf',