Files
Robin Jarry f5b8c32f5e rfc822: try harder to decode invalid address headers
Some address names may be quoted AND partially encoded. That is only
a word in the middle of the name could be encoded (and be surrounded by
=? and ?= delimiters).

Just check if the address name contains these two delimiters (regardless
of their position) to determine if we should re-decode the name.

Fixes: 44b14ebdff ("rfc822: be liberal with invalid address headers")
Signed-off-by: Robin Jarry <robin@jarry.cc>
2025-05-07 17:13:23 +02:00
..