Set `$isAtom` to `false` when encoding the email's subject
authorTim Düsterhus <duesterhus@woltlab.com>
Fri, 16 Jul 2021 12:08:16 +0000 (14:08 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Fri, 16 Jul 2021 12:19:59 +0000 (14:19 +0200)
wcfsetup/install/files/lib/system/email/Email.class.php

index a991473a2de19a4935a8da0d5cdd4eabbd223fa5..14a8401ad92129656c98f6a2d64f1fdbf1cc76cb 100644 (file)
@@ -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.");
         }