GNU bug report logs - #9766
24.0.50; rmail-forward makes attachment that doesn't read right

Previous Next

Package: emacs;

Reported by: rms <at> gnu.org

Date: Sun, 16 Oct 2011 11:21:01 UTC

Severity: normal

Tags: moreinfo

Found in version 24.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #43 received at 9766 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: rms <at> gnu.org, 9766 <at> debbugs.gnu.org
Subject: Re: bug#9766: 24.0.50;
	rmail-forward makes attachment that doesn't read right
Date: Tue, 18 Oct 2011 12:28:32 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

> We have Lars and we have Rainer.  I wouldn't worry about that.

Actually, I'm not 100% sure that it was valid MIME.

The structure was basically

---------------------
Headers: Bla bla

--delimiter line
..
--end--
---------------------

Reading RFC2046, the CRLF preceding the delimiter line is part of the
delimiter line.  But at the same time, the blank line after the headers
is the thing that delimits the headers from the body, which means that
the same blank line has two different overlapping meanings, which may
make some very strict parsers misbehave.

Adding an additional blank line before the delimiter line should fix
this and make this unambiguously valid MIME.

Unless I'm missing something in RFC2046.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




This bug report was last modified 3 years and 5 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.