[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 5334e726d0: Make mail-header-parse-addresses-lax more lax
From: |
Lars Ingebrigtsen |
Subject: |
master 5334e726d0: Make mail-header-parse-addresses-lax more lax |
Date: |
Tue, 22 Mar 2022 15:14:16 -0400 (EDT) |
branch: master
commit 5334e726d02473ecf441acb1501f44feb42a7325
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Make mail-header-parse-addresses-lax more lax
* lisp/mail/mail-parse.el (mail-header-parse-addresses-lax): Be
more resilient (bug#54523).
---
lisp/mail/mail-parse.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/mail/mail-parse.el b/lisp/mail/mail-parse.el
index 23894e59b7..ec719850e2 100644
--- a/lisp/mail/mail-parse.el
+++ b/lisp/mail/mail-parse.el
@@ -76,7 +76,8 @@
The return value is a list with mail/name pairs."
(delq nil
(mapcar (lambda (elem)
- (or (mail-header-parse-address elem)
+ (or (ignore-errors
+ (mail-header-parse-address elem))
(mail-header-parse-address-lax elem)))
(mail-header-parse-addresses string t))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 5334e726d0: Make mail-header-parse-addresses-lax more lax,
Lars Ingebrigtsen <=