emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master d34dd869d2: Fix decoding error in ietf-drums-parse-address


From: Lars Ingebrigtsen
Subject: master d34dd869d2: Fix decoding error in ietf-drums-parse-address
Date: Wed, 2 Feb 2022 13:07:43 -0500 (EST)

branch: master
commit d34dd869d2223254bc5262ca1194eb2edaff029a
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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 4a07959189..952707226f 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))))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]