GNU bug report logs -
#34293
27.0.50; comma inserted at the beginning of email address
Previous Next
Reported by: Juri Linkov <juri <at> linkov.net>
Date: Sat, 2 Feb 2019 21:18:01 UTC
Severity: normal
Tags: fixed
Found in version 5.13
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
X-Debbugs-Package: gnus
X-Debbugs-Version: 5.13
I have customized 'message-alternative-emails' to a regexp that
matches email aliases, but when a email lacks the 'To:' field,
message-use-alternative-email-as-from doesn't remove
the leading ',' prepended due to the empty 'To' field:
(defun message-use-alternative-email-as-from ()
...
(let* ((fields '("To" "Cc" "From"))
(emails
(message-tokenize-header
(mail-strip-quoted-names
(mapconcat 'message-fetch-reply-field fields ","))))
...
As a result, a comma is added to the beginning of email address.
Commit 357ae5dba5f from 2016-02-08 is a relatively recent change,
and it seems that this bug crept in from this commit.
This bug report was last modified 6 years and 13 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.