From 00dba0e189125706528068459ec35a1895f20736 Mon Sep 17 00:00:00 2001 From: Mia Herkt Date: Mon, 28 Nov 2022 22:25:52 +0100 Subject: [PATCH] config.example.py: Clarify MIME ext mapping --- instance/config.example.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/instance/config.example.py b/instance/config.example.py index cd78dde..64c977c 100644 --- a/instance/config.example.py +++ b/instance/config.example.py @@ -86,7 +86,8 @@ FHOST_MAX_EXT_LENGTH = 9 # When a user uploads a file with no file extension, we try to find an extension that # works for that file. This configuration option is the first thing that we check. If # the type of a file without an extension is in this dict, then it'll be used as the file -# extension for that file. +# extension for that file. Otherwise, we try to pick something sensible from libmagic's +# database. # # For example, if the user uploads "myfile" with no extension, and the file is a jpeg # image, the file will get a URL like "eAa.jpg"