unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: micah anderson <micah@riseup.net>
To: Glenn Morris <rgm@gnu.org>
Cc: 33613@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	[thread overview]
Message-ID: <87r2excbwv.fsf@riseup.net> (raw)
In-Reply-To: <awefax2jyu.fsf@fencepost.gnu.org>

Glenn Morris <rgm@gnu.org> writes:

> micah anderson wrote:
>
>>   mail-header-parse-address("dr ebs (\\_O<) <dre@foo.net>")
>
> It could probably be handled more elegantly, but IIUC
>
> "dr ebs (\\_O<) <dre@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@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





  reply	other threads:[~2018-12-04 19:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-04 16:32 bug#33613: 25.2; mail-header-parse-address: scan-error "Unbalanced parenthesis" 7 32 micah anderson
2018-12-04 19:03 ` Glenn Morris
2018-12-04 19:46   ` micah anderson [this message]
2018-12-04 20:02     ` Glenn Morris
2018-12-04 20:23       ` micah anderson
2019-09-23 15:36 ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r2excbwv.fsf@riseup.net \
    --to=micah@riseup.net \
    --cc=33613@debbugs.gnu.org \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).