snappymail/test
Fathi Ben Nasr 37fcdbe534 MailSo: keep the folding space before an encoded word that follows a plain word
HeaderCollection::Parse() trimmed the folding whitespace in front of every
continuation line starting with an encoded word. RFC 2047 6.2 ignores only
whitespace BETWEEN two adjacent encoded words; after a plain word, RFC 5322
unfolding keeps it. Symfony Mailer folds subjects exactly there, so
"de vos\r\n =?utf-8?Q?=C3=A9quipements?=" was displayed "voséquipements".
The message list (IMAP ENVELOPE) was fine; the opened message was not.

Test: php test/header-unfold.php (fails before the fix).
2026-10-22 20:55:38 +00:00
..
carddav.php Test CardDAV for #79 2021-04-15 12:41:01 +02:00
header-unfold.php MailSo: keep the folding space before an encoded word that follows a plain word 2026-10-22 20:55:38 +00:00
sasl.php Resolve #695 2022-11-23 16:26:26 +01:00
sso.php Use SNAPPYMAIL_INCLUDE_AS_API and added SSO test 2022-01-10 16:10:56 +01:00