1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2024-10-30 15:42:41 +01:00

Added audio mimes to our safe list for inline serving

Closes #3485
This commit is contained in:
Dan Brown 2022-06-08 22:30:23 +01:00
parent c8b123bfac
commit e72ade727d
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9

View File

@ -17,6 +17,13 @@ class WebSafeMimeSniffer
'application/json',
'application/octet-stream',
'application/pdf',
'audio/aac',
'audio/midi',
'audio/mpeg',
'audio/ogg',
'audio/opus',
'audio/wav',
'audio/webm',
'image/apng',
'image/bmp',
'image/jpeg',