From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#9766: 24.0.50; rmail-forward makes attachment that doesn't read right Date: Tue, 18 Oct 2011 12:28:32 +0200 Message-ID: References: <83vcrnufjg.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1318933768 7572 80.91.229.12 (18 Oct 2011 10:29:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 18 Oct 2011 10:29:28 +0000 (UTC) Cc: rms@gnu.org, 9766@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 18 12:29:23 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RG6vC-0002Wi-HJ for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Oct 2011 12:29:22 +0200 Original-Received: from localhost ([::1]:34517 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RG6vC-0008BB-0J for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Oct 2011 06:29:22 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:35409) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RG6v3-0007nI-8S for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2011 06:29:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RG6ux-00069h-54 for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2011 06:29:13 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41422) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RG6ux-00069Z-3Y for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2011 06:29:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RG6vq-0000ZT-Q8 for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2011 06:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Magne Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Oct 2011 10:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9766 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9766-submit@debbugs.gnu.org id=B9766.13189337932134 (code B ref 9766); Tue, 18 Oct 2011 10:30:02 +0000 Original-Received: (at 9766) by debbugs.gnu.org; 18 Oct 2011 10:29:53 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RG6vd-0000YJ-Ho for submit@debbugs.gnu.org; Tue, 18 Oct 2011 06:29:51 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RG6vY-0000Y7-47 for 9766@debbugs.gnu.org; Tue, 18 Oct 2011 06:29:48 -0400 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1RG6uR-0006xN-MT; Tue, 18 Oct 2011 12:28:35 +0200 In-Reply-To: <83vcrnufjg.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 18 Oct 2011 05:47:31 +0200") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAG1BMVEUAAACowMcnGheLiXgB AQEMBghwWkhMNysDAgPeHnT3AAACZUlEQVQ4jW2TTW+jMBCGR5Wb9EospdeKhNJr5F24Wlk2+MiS OOHYQAVXQlrYY1VBy8/uGOeDZHckQPjRO69nxgYA8A4xTwxqqMD3CLgGhCtAmcEUmRkUAfFqJNzj 85RVhYMoto17zMQ5LhLCuZ9ROaE/5cQyt6ODBQABVNCUsVET2sVOKTCXjo+EGsyNTesx2447IJSJ EAhokpmWuXe2LmD6zhrICoFrm6Zs1u6OKgV4pPsME6Nav1VW1GRbDYB0DwKzHLHYaps9PS6ruEmY TMdpkVpy31MgYNTe0UpuLDkZQy/8hFZlgRaN/HPfB8MdzQrTelqOoh74XTI2o4Ulo8pwmzP4St+4 z+hjmkXyMftYHj2GGbZ/sKMTJ27M1JQnUHrKfEb3LH7apPHHUtdhJw62lbHtuEyf2jCzQlQQIOXf ZRgv7eliRx3mpGZZVSUqyOfUSzbZ0s6xJTpmhoEed29wm4bxxH71K1zETRuJw1DhBzB4sGM7fB3m MqpFLVoMCWADLL4qtzQRqJ1wNUzRAn9BsKjcT/R4Ps0ZAeDf58BrWxEcAKJagRhgveBd+c+Y6KxY A/wqdF9ynIs6fQL99coDHBT6lKl9XczjGbrzqtaba+CdFKse+IHm+uz9k4p4h8ovgP8COo1uyTkG ORYn2g5dmA9e+4r3voLoXV17YHf5XR9w8I5ANVccK7+NAillBHebnATgrU4tUW2uOd5ePyf4rusu F/RuwTCfB3AbiGbVir55OMy/Arh5J/NVNw9UqKuGSRZTTN68E+HVVy2ZYvKo/s88HvRXAXkNBFf3 HoUXIDgrom8XetcG3KLXjQAAAABJRU5ErkJggg== X-Now-Playing: Minimal Compact's _The Figure One Cuts_: "Night Light" X-MailScanner-ID: 1RG6uR-0006xN-MT MailScanner-NULL-Check: 1319538515.90871@nCpQfBM/mNM14KeSRx4BxA X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 18 Oct 2011 06:30:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:52778 Archived-At: Eli Zaretskii 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/