]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix problem with folded Gcc headers in Gnus
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 25 Aug 2020 14:57:53 +0000 (16:57 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 25 Aug 2020 14:57:53 +0000 (16:57 +0200)
* 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).

lisp/gnus/gnus-msg.el

index cdfbf16db5e1910e9db70df84caaa2458d6818bc..e770abc2cdf56b1d2f376f444cee5b0fe4fd9e00 100644 (file)
@@ -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)