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).
This commit is contained in:
Lars Ingebrigtsen 2020-08-25 16:57:53 +02:00
parent 6d10b607d0
commit 7445560d0c

View 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)