From: Andreas Schwab Date: Thu, 7 Jan 2021 12:20:43 +0000 (+0100) Subject: Fix quoting problem in pop3-uidl-save X-Git-Tag: emacs-28.0.90~4350^2~6 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e15386da5d684b1d64204db6b33fbf613cbaad50;p=emacs.git Fix quoting problem in pop3-uidl-save * lisp/net/pop3.el (pop3-uidl-save): Quote strings properly (bug#43896). --- 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)