From: Lars Ingebrigtsen Date: Tue, 25 Aug 2020 14:57:53 +0000 (+0200) Subject: Fix problem with folded Gcc headers in Gnus X-Git-Tag: emacs-28.0.90~6409 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7445560d0cd4d94f93988d51a98bdba465173f44;p=emacs.git Fix problem with folded Gcc headers in Gnus * lisp/gnus/gnus-msg.el (gnus-inews-do-gcc): Tokenize the gcc header properly (there may be newlines and tabs in the separators) (bug#43036). --- diff --git a/lisp/gnus/gnus-msg.el b/lisp/gnus/gnus-msg.el index cdfbf16db5e..e770abc2cdf 100644 --- a/lisp/gnus/gnus-msg.el +++ b/lisp/gnus/gnus-msg.el @@ -1598,7 +1598,7 @@ this is a reply." (message-remove-header "gcc") (widen) (setq groups (message-unquote-tokens - (message-tokenize-header gcc " ,"))) + (message-tokenize-header gcc " ,\n\t"))) ;; Copy the article over to some group(s). (while (setq group (pop groups)) (setq method (gnus-inews-group-method group)