diff options
author | Mikhail Galanin <mgalanin@mimecast.com> | 2018-07-27 16:57:32 +0100 |
---|---|---|
committer | Mikhail Galanin <mgalanin@mimecast.com> | 2018-07-27 16:57:32 +0100 |
commit | 6a1a93fffccd1344c87b33d7baacf9d25b5ba97b (patch) | |
tree | c85b02f48d78c03390eef08d352a9d400674be8d /test/functional/cases | |
parent | db3d0cb4b994558f63a28011a13a9e08d5f6d1d8 (diff) | |
download | rspamd-6a1a93fffccd1344c87b33d7baacf9d25b5ba97b.tar.gz rspamd-6a1a93fffccd1344c87b33d7baacf9d25b5ba97b.zip |
[Fix] Detect empty text part as text, not HTML
Issue: #2367
Diffstat (limited to 'test/functional/cases')
-rw-r--r-- | test/functional/cases/105_mimetypes.robot | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/functional/cases/105_mimetypes.robot b/test/functional/cases/105_mimetypes.robot index 895255194..3c1a03930 100644 --- a/test/functional/cases/105_mimetypes.robot +++ b/test/functional/cases/105_mimetypes.robot @@ -45,6 +45,10 @@ Multipart Archive Extension ${result} = Scan Message With Rspamc ${TESTDIR}/messages/f.zip.001.eml Should Not Contain ${result.stdout} MIME_ARCHIVE_IN_ARCHIVE +Empty text part should not be treat as html + ${result} = Scan Message With Rspamc ${TESTDIR}/messages/empty-plain-text.eml + Should Not Contain ${result.stdout} FORGED_OUTLOOK_HTML + *** Keywords *** MIMETypes Setup ${PLUGIN_CONFIG} = Get File ${TESTDIR}/configs/mime_types.conf |