finish banned mime types

This commit is contained in:
2026-11-15 12:15:02 -05:00
parent e1e0c8042e
commit 2a315a68fc
2 changed files with 6 additions and 0 deletions
+1
View File
@@ -13,6 +13,7 @@ MINIBIN_MAX_FILE_KIB=97657
MINIBIN_EXPIRIES=1h,12h,1d,7d,2w,1mo,6mo,1y,5y,0
# when set to true, will normalize mime types
# 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"