GNU bug report logs - #31651
26.1.50; message-forward-included-headers should contain "^$"

Previous Next

Package: emacs;

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 #8 received at 31651 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> suse.de>
To: Katsumi Yamaoka <yamaoka <at> jpl.org>
Cc: 31651 <at> debbugs.gnu.org
Subject: Re: bug#31651: 26.1.50;
 message-forward-included-headers should contain "^$"
Date: Wed, 30 May 2018 09:56:11 +0200
On Mai 30 2018, Katsumi Yamaoka <yamaoka <at> jpl.org> wrote:

> 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.

I think this is a bug.  The empty line is not a header line, so it
should not be matched against.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab <at> suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."




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.