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 14:46:56 -0500
Glenn Morris <rgm <at> gnu.org> writes:

> micah anderson wrote:
>
>>   mail-header-parse-address("dr ebs (\\_O<) <dre <at> foo.net>")
>
> It could probably be handled more elegantly, but IIUC
>
> "dr ebs (\\_O<) <dre <at> foo.net>"
>
> isn't valid in an email header, because the () are special characters
> that should be quoted in the display name, per RFC5322.

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.

-- 
        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.