aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/messages
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-12-08 18:14:53 +0000
committerGitHub <noreply@github.com>2017-12-08 18:14:53 +0000
commita6c14bd4d0aa61f9f182087bb83d34dc0642d287 (patch)
treef5c12ef4b01caebea6bd96b8f6b1842ba3a14036 /test/functional/messages
parenta3f235901143eb1e92294cf075349c411c6b0e86 (diff)
parent08461569b4ef12a5651ffb4ef7af064370e6758a (diff)
downloadrspamd-a6c14bd4d0aa61f9f182087bb83d34dc0642d287.tar.gz
rspamd-a6c14bd4d0aa61f9f182087bb83d34dc0642d287.zip
Merge pull request #1950 from moisseev/mime_types
[Fix] mime_types: fix next-to-last extension length check
Diffstat (limited to 'test/functional/messages')
-rw-r--r--test/functional/messages/bad_ext.dotted_file_name.eml9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/functional/messages/bad_ext.dotted_file_name.eml b/test/functional/messages/bad_ext.dotted_file_name.eml
new file mode 100644
index 000000000..a12510635
--- /dev/null
+++ b/test/functional/messages/bad_ext.dotted_file_name.eml
@@ -0,0 +1,9 @@
+Content-Type: multipart/mixed; boundary="------------D6BBFC1853527FEEDD26DC71"
+
+--------------D6BBFC1853527FEEDD26DC71
+Content-Type: application/x-msdownload; name="bad_ext.dotted_file_name.exe"
+Content-Transfer-Encoding: base64
+Content-Disposition: attachment; filename="bad_ext.dotted_file_name.exe"
+
+MAo=
+--------------D6BBFC1853527FEEDD26DC71--