aboutsummaryrefslogtreecommitdiffstats
path: root/tests/parser/bodyTest.cpp
diff options
context:
space:
mode:
authorJan Engelhardt <[email protected]>2020-12-09 15:58:57 +0000
committerJan Engelhardt <[email protected]>2020-12-11 22:10:39 +0000
commitf4c611b736ac290ec4f99faaa48b59fdd7c63809 (patch)
tree3b2a523a15513324175c40dec2dad1747c9dc0ef /tests/parser/bodyTest.cpp
parentCheck for DSN extension support before using it. (diff)
downloadvmime-f4c611b736ac290ec4f99faaa48b59fdd7c63809.tar.gz
vmime-f4c611b736ac290ec4f99faaa48b59fdd7c63809.zip
Avoid force-encoding display names that fit within qcontent
When the display name contains an At sign, or anything of the sort, libvmime would forcibly encode this to =?...?=, even if the line is fine ASCII which only needs quoting. rspamd takes excessive quoting as a sign of spam and penalizes such mails by raising the score (rule/match: TO_EXCESS_QP et al.)
Diffstat (limited to 'tests/parser/bodyTest.cpp')
-rw-r--r--tests/parser/bodyTest.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/parser/bodyTest.cpp b/tests/parser/bodyTest.cpp
index fa396af5..31054f30 100644
--- a/tests/parser/bodyTest.cpp
+++ b/tests/parser/bodyTest.cpp
@@ -31,7 +31,6 @@ VMIME_TEST_SUITE_BEGIN(bodyTest)
VMIME_TEST(testGenerate_NonText)
VMIME_TEST_LIST_END
-
void testGenerate_Text() {
// RFC-2015: [Quoted-Printable encoding] A line break in a text body,