Incorrect parsing of email addresses (MIME with quotes)
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Mon Oct 24 09:09:42 PDT 2011
On 10/24/2011 07:53 AM, Petter Reinholdtsen wrote:
>
> The notmuch email frontend have a problem parsing email headers.
> The problem is headers like this
>
> From: "=?iso-8859-1?q?=D8yvind_Normann?=" <oyvind.norman at uio.no>
>
> which my mailbox got a lot of. The frontend show the address as
>
> =?iso-8859-1?q?=D8yvind_Normann?=
>
> instead of
>
> Øyvind Normann
>
> The problem is the quotes around the MIME encoded string. Mutt and
> Gnus handle these headers properly, but notmuch do not.
http://tools.ietf.org/html/rfc2047#page-8
states quite clearly:
+ An 'encoded-word' MUST NOT appear within a 'quoted-string'.
I'd argue that notmuch is doing the right thing here, and that MUAs that
wrap encoded words in quotes (or that apply decoding rules within quoted
strings) are the ones that need fixing.
Regards,
--dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1030 bytes
Desc: OpenPGP digital signature
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20111024/94a569db/attachment.pgp>
More information about the notmuch
mailing list