diff options
author | Carsten Rosenberg <c.rosenberg@heinlein-support.de> | 2019-01-29 20:22:41 +0100 |
---|---|---|
committer | Carsten Rosenberg <c.rosenberg@heinlein-support.de> | 2019-01-29 20:22:41 +0100 |
commit | 4e00e9f13988ad1fb7d9868810f8c04fb2834b9c (patch) | |
tree | b5606b8839e54d30fbc4cd399d2a8bb50da2051a /test/functional/configs | |
parent | 69ee9cf38003ca9acf5436b3a8d678387cae57fe (diff) | |
download | rspamd-4e00e9f13988ad1fb7d9868810f8c04fb2834b9c.tar.gz rspamd-4e00e9f13988ad1fb7d9868810f8c04fb2834b9c.zip |
[Minor] mime_types - add filename whitelist
Diffstat (limited to 'test/functional/configs')
-rw-r--r-- | test/functional/configs/maps/mime_types.wl | 1 | ||||
-rw-r--r-- | test/functional/configs/mime_types.conf | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/configs/maps/mime_types.wl b/test/functional/configs/maps/mime_types.wl new file mode 100644 index 000000000..eca07bddc --- /dev/null +++ b/test/functional/configs/maps/mime_types.wl @@ -0,0 +1 @@ +/^hello_world\.exe$/ diff --git a/test/functional/configs/mime_types.conf b/test/functional/configs/mime_types.conf index a16434b6a..e28feba98 100644 --- a/test/functional/configs/mime_types.conf +++ b/test/functional/configs/mime_types.conf @@ -15,4 +15,5 @@ mime_types { "application/pdf", ] } + filename_whitelist = "${TESTDIR}/configs/maps/mime_types.wl"; } |