<<< Date Index >>>     <<< Thread Index >>>

Re: [BUG] headers addresses in pager wysinwit



On 2005-03-26 17:45:28 +0100, Alain Bench wrote:

>     Could this be related to bug #1702 « mutt-1.5.5.1i: mutt
>     re-formats Return-Path: header » that touches same versions?

Address headers are indeed reformatted.  The reason for this is that
we now do IDN decoding on e-mail addresses.  To do this decoding
properly, we have to parse the entire address, decode the domain
name parts, and re-assemble.

There are basically two possibilities to do this:  Either, we
abandon the notion of a simple address structure, and keep the
entire (possibly quite complex) parse tree around.  That would
enable us to re-build the address as it was on the wire.

The alternative (which is what I chose when I added IDNs) is to use
mutt's current RFC 822 address parser and do the partially imperfect
reconstruction about which this bug report complains.

Regards,
-- 
Thomas Roessler · Personal soap box at <http://log.does-not-exist.org/>.