summaryrefslogtreecommitdiff
path: root/fbin-scanner.py
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2021-03-28 16:38:05 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2021-03-28 16:42:40 +0200
commit7a95ba7647b1bd169a68787f88adc9eeef244883 (patch)
tree8b16e4cdc2d0759ac6ed2c395edd46ee9eb94665 /fbin-scanner.py
parent9abb06be301ccdacc4393873386c34d4f3721f7c (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-scanner.py')
0 files changed, 0 insertions, 0 deletions