GNU bug report logs -
#31651
26.1.50; message-forward-included-headers should contain "^$"
Previous Next
Reported by: Katsumi Yamaoka <yamaoka <at> jpl.org>
Date: Wed, 30 May 2018 03:09:02 UTC
Severity: normal
Found in version 26.1.50
Done: Katsumi Yamaoka <yamaoka <at> jpl.org>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi,
The docstring of `message-forward-included-headers' says:
This variable should be a regexp or a list of regexps.
But if it is a regexp, it should contain "^$" like:
"^$\\|^\\(?:Cc\\|Date\\|From\\|In-Reply-To\\|Message-Id\\|References\\|Reply-To\\|Subject\\|To\\|User-Agent\\|X-Mailer\\):"
Or the header separator in a forward message will be removed
and the message will get malformed.
A better way to solve this issue would be to improve the
`message-remove-ignored-headers' code rather than adding a causion
to the docstring of `message-forward-included-headers', I think.
I use `message-forward-as-mime' with t as it was before.
Thanks.
This bug report was last modified 6 years and 354 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.