commit 9a0bf41: Map application/x-pdf to pdf
Jean-Louis Dupond
jean-louis at dupond.be
Sun Dec 19 14:28:05 UTC 2021
Author: Jean-Louis Dupond
Date: 2021-12-17 10:18:35 +0100
URL: https://github.com/rspamd/rspamd/commit/9a0bf41851697b92a0d4bfd3ed3643d3b5f838b9 (refs/pull/4013/head)
Map application/x-pdf to pdf
Some mails were marked as
MIME_BAD_ATTACHMENT (4) [pdf:application/x-pdf]
application/x-pdf might be obsolete but still used.
---
conf/modules.d/mime_types.conf | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/conf/modules.d/mime_types.conf b/conf/modules.d/mime_types.conf
index 376b70171..1f67595a7 100644
--- a/conf/modules.d/mime_types.conf
+++ b/conf/modules.d/mime_types.conf
@@ -30,7 +30,8 @@ mime_types {
];
pdf = [
"application/octet-stream",
- "application/pdf"
+ "application/pdf",
+ "application/x-pdf"
];
}
More information about the Commits
mailing list