From d34dd869d2223254bc5262ca1194eb2edaff029a Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Wed, 2 Feb 2022 19:07:01 +0100 Subject: [PATCH] Fix decoding error in ietf-drums-parse-address * lisp/mail/ietf-drums.el (ietf-drums-parse-address): Don't try to decode the name if there is no name (bug#53716). --- lisp/mail/ietf-drums.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/mail/ietf-drums.el b/lisp/mail/ietf-drums.el index 4a079591890..952707226f5 100644 --- a/lisp/mail/ietf-drums.el +++ b/lisp/mail/ietf-drums.el @@ -240,7 +240,7 @@ If DECODE, the DISPLAY-NAME will have RFC2047 decoding performed (cons (mapconcat #'identity (nreverse display-name) "") (ietf-drums-get-comment string))) - (cons mailbox (if decode + (cons mailbox (if (and decode display-string) (rfc2047-decode-string display-string) display-string)))))) -- 2.39.5