]> source.dussan.org Git - rspamd.git/commit
[Feature] Add list support to `mime types` module configuration 567/head
authorAlexander Moisseev <moiseev@mezonplus.ru>
Tue, 22 Mar 2016 08:50:08 +0000 (11:50 +0300)
committerAlexander Moisseev <moiseev@mezonplus.ru>
Tue, 22 Mar 2016 08:50:08 +0000 (11:50 +0300)
commitf05607bf6a96ccb0a7d87d5fc51beaa5e1ce6bb9
treeb69adc94ce9e67200f40de6a73fcc9cb57438143
parent0f821cb3ee78cac17c0bd562a801e954556d6a3e
[Feature] Add list support to `mime types` module configuration

- this change allows to configure several mime types for an extension like ```txt = [ "message/disposition-notification", "text/plain", "text/rfc822-headers" ];```
- `type` variable replaced with `mtype` as `type` is lua reserved word
src/plugins/lua/mime_types.lua