summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-07-15 17:50:23 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-07-15 17:50:23 +0100
commita0603aa75c6211e18a311349ed17214daee59b44 (patch)
tree15a89b442ba1e46791540d865283de28936b802a
parent3262b2b175bb5de9eb3dbd68279f177a1b8b3e29 (diff)
downloadrspamd-a0603aa75c6211e18a311349ed17214daee59b44.tar.gz
rspamd-a0603aa75c6211e18a311349ed17214daee59b44.zip
[Minor] Treat '.htm' as HTML files as well
-rw-r--r--src/plugins/lua/mime_types.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/lua/mime_types.lua b/src/plugins/lua/mime_types.lua
index fc91ae8bf..b3216d6c7 100644
--- a/src/plugins/lua/mime_types.lua
+++ b/src/plugins/lua/mime_types.lua
@@ -31,6 +31,7 @@ local settings = {
regexp = false,
extension_map = { -- extension -> mime_type
html = 'text/html',
+ htm = 'text/html',
txt = 'text/plain',
pdf = 'application/pdf'
},