GNU bug report logs - #33613
25.2; mail-header-parse-address: scan-error "Unbalanced parenthesis" 7 32

Previous Next

Package: emacs;

Reported by: micah anderson <micah <at> riseup.net>

Date: Tue, 4 Dec 2018 16:40:02 UTC

Severity: minor

Tags: fixed

Found in version 25.2

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: micah anderson <micah <at> riseup.net>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 33613 <at> debbugs.gnu.org
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 <at> gnu.org> writes:

> micah anderson wrote:
>
>> Yeah, the text that comes before the <dre <at> 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




This bug report was last modified 5 years and 300 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.