Control: retitle -1 RFC1522 parsing doesn't re-escape commas

Thanks for the report.

On Fri, 21 Jul 2023, Vincent Lefevre wrote:
> For bug 1041631, I replied to a mail, and the headers were:

[...]

> To: =?iso-8859-1?Q?Preu=DFe=2C?= Hilmar <hill...@web.de>

[...]

> To: =?UTF-8?Q?Preu=C3=9...@buxtehude.debian.org,
>         ?= Hilmar <hill...@web.de>

It failed the comma and then went through address expansion.

For future me: the test for this should be that:

From: =?UTF-8?B?UHJldcOfZSwgSGlsbWFy?= <hill...@web.de>

gets round tripped to the same (or uses quotation marks to escape the
comma). [Use a different address in testing.]


-- 
Don Armstrong                      https://www.donarmstrong.com

"I always tend to assume there's an infinite amount of money out
there." "There might as well be, [...] but most of it gets spent on
pornography, sugar water, and bombs. There is only so much that can be
scraped together for particle accelerators."
 -- Neal Stephenson _Anathem_ p262

Reply via email to