1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-27 10:54:40 +00:00

Re-fix Gcc header tokenization in Gnus

* lisp/gnus/gnus-msg.el (gnus-inews-do-gcc): Split the Gcc header
on commas, but allow group names to contain spaces (bug#55217).
This commit is contained in:
Lars Ingebrigtsen 2022-05-02 11:37:35 +02:00
parent 97badaab79
commit f7a6dd4fcc

View File

@ -1571,8 +1571,9 @@ this is a reply."
(when gcc
(message-remove-header "gcc")
(widen)
(setq groups (message-unquote-tokens
(message-tokenize-header gcc ",\n\t")))
(setq groups (mapcar #'string-trim
(message-unquote-tokens
(message-tokenize-header gcc))))
;; Copy the article over to some group(s).
(while (setq group (pop groups))
(setq method (gnus-inews-group-method group))