diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-07-15 17:50:23 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-07-15 17:50:23 +0100 |
commit | a0603aa75c6211e18a311349ed17214daee59b44 (patch) | |
tree | 15a89b442ba1e46791540d865283de28936b802a | |
parent | 3262b2b175bb5de9eb3dbd68279f177a1b8b3e29 (diff) | |
download | rspamd-a0603aa75c6211e18a311349ed17214daee59b44.tar.gz rspamd-a0603aa75c6211e18a311349ed17214daee59b44.zip |
[Minor] Treat '.htm' as HTML files as well
-rw-r--r-- | src/plugins/lua/mime_types.lua | 1 |
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' }, |