bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#33613: 25.2; mail-header-parse-address: scan-error "Unbalanced paren


From: micah anderson
Subject: bug#33613: 25.2; mail-header-parse-address: scan-error "Unbalanced parenthesis" 7 32
Date: Tue, 04 Dec 2018 15:23:49 -0500

Glenn Morris <rgm@gnu.org> writes:

> micah anderson wrote:
>
>> Yeah, the text that comes before the <dre@foo.net> in an OpenPGP userID
>> is defined as arbitrary UTF-8 text, so it should not be considered to be
>> following any email address standard.
>
> OK, but there's a de facto standard [1] that it be a normal email
> address. GPG for example won't create a uid like the one in this report
> without --allow-freeform-uid, which "should only be used in very special
> environments".

You are right.

> [1] https://tools.ietf.org/html/rfc4880#section-5.11
> "By convention, it includes an RFC 2822 mail name-addr"

yes, except when it doesn't.

That quote continues, here is the full thing:

"By convention, it includes an RFC 2822 [RFC2822] mail name-addr, but
there are no restrictions on its content."

I think we agree on this - these are not normal, they aren't
conventional, but mail-header-parse-address should be able to deal with
these cases.

-- 
        micah





reply via email to

[Prev in Thread] Current Thread [Next in Thread]