diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2021-03-28 16:38:05 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2021-03-28 16:42:40 +0200 |
commit | 7a95ba7647b1bd169a68787f88adc9eeef244883 (patch) | |
tree | 8b16e4cdc2d0759ac6ed2c395edd46ee9eb94665 /fbin/templates/base.html | |
parent | 9abb06be301ccdacc4393873386c34d4f3721f7c (diff) |
Add mimetype blacklisting
Add two new configuration options: MIMETYPE_BLACKLIST and
MIMETYPE_USER_WHITELIST. Any mimetype in MIMETYPE_BLACKLIST will be sent
as either text/plain or application/octet-stream depending on the actual
mimetype returned. If the uploader's username is specified in
MIMETYPE_USER_WHITELIST, the blacklist is ignored.
Diffstat (limited to 'fbin/templates/base.html')
0 files changed, 0 insertions, 0 deletions