diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-08-09 21:06:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-09 21:06:47 +0100 |
commit | 8c3b7e781fb963adb1348f6e165b08e4fe33caed (patch) | |
tree | a57927491dccf209466cc01b396ab12aadcc3852 | |
parent | 3e2508b08f865d9da9cc23a28a76a916ebe0d7e3 (diff) | |
parent | 925aa59d935823022857a9bc83c3ccdb5154af79 (diff) | |
download | rspamd-8c3b7e781fb963adb1348f6e165b08e4fe33caed.tar.gz rspamd-8c3b7e781fb963adb1348f6e165b08e4fe33caed.zip |
Merge pull request #4239 from citrin/mime-types
Add MIME types commonly used for mp3 and wav attachments
-rw-r--r-- | lualib/lua_mime_types.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lualib/lua_mime_types.lua b/lualib/lua_mime_types.lua index 4fefddee9..45784da6d 100644 --- a/lualib/lua_mime_types.lua +++ b/lualib/lua_mime_types.lua @@ -298,7 +298,7 @@ exports.full_extensions_map = { {"movie", "video/x-sgi-movie"}, {"mp2", "video/mpeg"}, {"mp2v", "video/mpeg"}, - {"mp3", "audio/mpeg"}, + {"mp3", {"audio/mpeg", "audio/mpeg3", "audio/mp3", "audio/x-mpeg-3"}}, {"mp4", "video/mp4"}, {"mp4v", "video/mp4"}, {"mpa", "video/mpeg"}, @@ -554,7 +554,7 @@ exports.full_extensions_map = { {"vsw", "application/vnd.visio"}, {"vsx", "application/vnd.visio"}, {"vtx", "application/vnd.visio"}, - {"wav", "audio/wav"}, + {"wav", {"audio/wav", "audio/vnd.wave", "audio/x-wav"}}, {"wave", "audio/wav"}, {"wax", "audio/x-ms-wax"}, {"wbk", "application/msword"}, |