From 21aef3f4f7208f18daf71553e86c0ec85151a481 Mon Sep 17 00:00:00 2001 From: whoswhip Date: Sun, 15 Nov 2026 12:57:05 -0500 Subject: [PATCH] update .env.example to include more executables --- .env.example | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index ba949c4..7919cd6 100644 --- a/.env.example +++ b/.env.example @@ -15,5 +15,6 @@ MINIBIN_EXPIRIES=1h,12h,1d,7d,2w,1mo,6mo,1y,5y,0 # the browser could execute to text/plain to prevent it # only normalizes when returning content, not on upload MINIBIN_NORMALIZE_MIME_TYPES=true -# prevents uploads with these mime types, separated by commas -MINIBIN_BANNED_MIME_TYPES="application/vnd.microsoft.portable-executable,application/java-archive,application/x-executable" +# prevents uploads with the specified mime types, separated by commas +# this example is pretty long, but it is majority (if not all) of the executable types github.com/gabriel-vasile/mimetype detects +MINIBIN_BANNED_MIME_TYPES="application/vnd.microsoft.portable-executable,application/java-archive,application/x-executable,application/vnd.android.package-archive,application/x-ms-installer,application/x-elf,application/vnd.debian.binary-package"