diff options
author | Anton Yuzhaninov <citrin+git@citrin.ru> | 2022-08-09 12:00:49 +0100 |
---|---|---|
committer | Anton Yuzhaninov <citrin+git@citrin.ru> | 2022-08-09 12:05:48 +0100 |
commit | 925aa59d935823022857a9bc83c3ccdb5154af79 (patch) | |
tree | a57927491dccf209466cc01b396ab12aadcc3852 /lualib | |
parent | 3e2508b08f865d9da9cc23a28a76a916ebe0d7e3 (diff) | |
download | rspamd-925aa59d935823022857a9bc83c3ccdb5154af79.tar.gz rspamd-925aa59d935823022857a9bc83c3ccdb5154af79.zip |
[Minor] Add MIME types commonly used for mp3 and wav attachments
Diffstat (limited to 'lualib')
-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"}, |