mirror of
https://git.0x0.st/mia/0x0
synced 2026-08-21 14:36:57 +02:00
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
This commit is contained in:
Reference in New Issue
Block a user