From e15386da5d684b1d64204db6b33fbf613cbaad50 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Thu, 7 Jan 2021 13:20:43 +0100 Subject: [PATCH] Fix quoting problem in pop3-uidl-save * lisp/net/pop3.el (pop3-uidl-save): Quote strings properly (bug#43896). --- lisp/net/pop3.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/net/pop3.el b/lisp/net/pop3.el index aa34fe7f1a3..dcac36f2a4a 100644 --- a/lisp/net/pop3.el +++ b/lisp/net/pop3.el @@ -463,7 +463,7 @@ Return non-nil if it is necessary to update the local UIDL file." (when (cdr elt) (insert "(\"" (pop elt) "\"\n ") (while elt - (insert (format "\"%s\" %s\n " (pop elt) (pop elt)))) + (insert (format "%S %s\n " (pop elt) (pop elt)))) (delete-char -4) (insert ")\n "))) (delete-char -3) -- 2.39.5