]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Treat '.htm' as HTML files as well
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 15 Jul 2016 16:50:23 +0000 (17:50 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 15 Jul 2016 16:50:23 +0000 (17:50 +0100)
src/plugins/lua/mime_types.lua

index fc91ae8bf05a26c02e253e9e9725a372c933c4a6..b3216d6c7a790a58865a553c3b4de93dcb3b1b96 100644 (file)
@@ -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'
   },