aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_content/init.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-01-12 15:42:08 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-01-12 15:42:08 +0000
commit093ad04f422ad28b6648324666db40e6ade38ac4 (patch)
treec9fc7ef958a98df4907b82992958a966c9928ab4 /lualib/lua_content/init.lua
parent8cc2fca85daf91b18e6eb806a6b63c23db5cd3bf (diff)
downloadrspamd-093ad04f422ad28b6648324666db40e6ade38ac4.tar.gz
rspamd-093ad04f422ad28b6648324666db40e6ade38ac4.zip
[Project] Add preliminary support of vcard parser
Diffstat (limited to 'lualib/lua_content/init.lua')
-rw-r--r--lualib/lua_content/init.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/lualib/lua_content/init.lua b/lualib/lua_content/init.lua
index 7bf42b9a1..7947f16ab 100644
--- a/lualib/lua_content/init.lua
+++ b/lualib/lua_content/init.lua
@@ -31,6 +31,12 @@ local content_modules = {
extensions = {'ics'},
output = "text"
},
+ vcf = {
+ mime_type = {"text/vcard", "application/vcard"},
+ module = require "lua_content/vcard",
+ extensions = {'vcf'},
+ output = "text"
+ },
pdf = {
mime_type = "application/pdf",
module = require "lua_content/pdf",