summaryrefslogtreecommitdiff
path: root/instance
diff options
context:
space:
mode:
authorjonas-w <git@03j.de>2023-01-15 19:28:21 +0100
committerJonas Wunderlich <git@jonas-wunderlich.de>2023-01-15 20:36:39 +0100
commit3950f6e8ebf264ff5fb7c4302f11667e41c0ce21 (patch)
treea1100d024ed707bb191dce669bc639cd8d45b777 /instance
parente1e99957b6188cce657485f15ff3708fef9e5999 (diff)
fix 500 error when file extension could not be guessed
when a file without an extension was uploaded and the mimetypes.guess_extension returned None because there is no official file extension for that mimetype a NoneType was subscripted which yielded a 500 http error
Diffstat (limited to 'instance')
0 files changed, 0 insertions, 0 deletions