issues
search
element-hq
/
matrix-content-scanner-python
A web service for scanning media hosted by a Matrix media repository
Apache License 2.0
12
stars
8
forks
source link
Check MIME types against config before scanning
#24
Closed
babolivier
closed
1 year ago
babolivier
commented
1 year ago
When scanning a file, look up its MIME type, and checks that:
if the file was not encrypted in the first place, it matches what the remote homeserver claims it is
it's a MIME type that's allowed by the configuration (if any)
When scanning a file, look up its MIME type, and checks that: