comment on the quoted-encded test

This commit is contained in:
B. Petersen
2021-02-08 17:15:20 +01:00
committed by bjoern
parent a8c389c3b4
commit 6aeda98c0a

View File

@@ -1519,6 +1519,8 @@ mod tests {
assert_eq!(contact.addr, "g@c.de");
assert_eq!(contact.display_name, Some("Götz C".to_string()));
// although RFC 2047 says, encoded-words shall not appear inside quoted-string,
// this combination is used in the wild eg. by MailMate
let mimemsg =
MimeMessage::from_bytes(&ctx, b"From: \"=?utf-8?q?G=C3=B6tz?= C\" <g@c.de>\n\nhi")
.await