summaryrefslogtreecommitdiff
path: root/lisp/gnus/gnus-msg.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2020-08-25 16:57:53 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2020-08-25 16:57:53 +0200
commit7445560d0cd4d94f93988d51a98bdba465173f44 (patch)
tree3e5ad646bb48dabc979fbcfc547d5facefc8a0a4 /lisp/gnus/gnus-msg.el
parent6d10b607d094bfd29b9ce0c4baf469e3683c3ac6 (diff)
downloademacs-7445560d0cd4d94f93988d51a98bdba465173f44.tar.gz
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).
Diffstat (limited to 'lisp/gnus/gnus-msg.el')
-rw-r--r--lisp/gnus/gnus-msg.el2
1 files changed, 1 insertions, 1 deletions
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)