From 1d0abca08e1088ca7ed863435d36646cc34bec7c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Fri, 16 Jul 2021 14:08:16 +0200 Subject: [PATCH] Set `$isAtom` to `false` when encoding the email's subject --- wcfsetup/install/files/lib/system/email/Email.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/email/Email.class.php b/wcfsetup/install/files/lib/system/email/Email.class.php index a991473a2d..14a8401ad9 100644 --- a/wcfsetup/install/files/lib/system/email/Email.class.php +++ b/wcfsetup/install/files/lib/system/email/Email.class.php @@ -527,7 +527,7 @@ class Email $headers[] = ['cc', \implode(",\r\n ", $cc)]; } if ($this->getSubject()) { - $headers[] = ['subject', EmailGrammar::encodeQuotedPrintableHeader($this->getSubject())]; + $headers[] = ['subject', EmailGrammar::encodeQuotedPrintableHeader($this->getSubject(), false)]; } else { throw new \LogicException("Cannot generate message headers, you must specify a subject."); } -- 2.20.1