Re: questions on QP, non-text attachments and munpack

hansen@pegasus.att.com Sun, 11 February 1996 05:52 UTC

Received: from ietf.nri.reston.va.us by IETF.CNRI.Reston.VA.US id aa05628; 11 Feb 96 0:52 EST
Received: from CNRI.Reston.VA.US by IETF.CNRI.Reston.VA.US id aa05624; 11 Feb 96 0:52 EST
Received: from list.cren.net by CNRI.Reston.VA.US id aa01330; 11 Feb 96 0:52 EST
Received: from localhost (localhost [127.0.0.1]) by list.cren.net (8.6.12/8.6.12) with SMTP id AAA08239; Sun, 11 Feb 1996 00:26:15 -0500
Received: from gw3.att.com (gw4.att.com [204.179.186.34]) by list.cren.net (8.6.12/8.6.12) with SMTP id AAA08165 for <ietf-822@list.cren.net>; Sun, 11 Feb 1996 00:24:06 -0500
Received: from pegasus.UUCP by ig4.att.att.com id AA21090; Sun, 11 Feb 96 00:16:50 EST
Message-Id: <9602110516.AA21090@ig4.att.att.com>
Date: Sun, 11 Feb 1996 00:13 EST
X-Orig-Sender: owner-ietf-822@list.cren.net
Sender: ietf-archive-request@IETF.CNRI.Reston.VA.US
From: hansen@pegasus.att.com
To: Jamie Zawinski <jwz@netscape.com>
Cc: Ned Freed <ietf-822@list.cren.net>, jgm+@cmu.edu
Subject: Re: questions on QP, non-text attachments and munpack
Content-Type: text
X-Listprocessor-Version: 8.0(beta) -- ListProcessor by CREN

< From: jwz@netscape.com (Jamie Zawinski)
<
<< From your statements above, you believe that munpack is incorrect.
<
< If you're referring to me,

The attributions changed in mid message. Here, I was referring to Ned
Freed's response.

< that's not what I meant -- I thought that munpack was doing the right
< thing, but that whoever had encoded binary data in QP needed to use Base64
< instead.
<
< But now I agree with Ned -- you can use QP for binary data, but you just
< need to be careful to make CR, LF, and CRLF explicit, and not to use hard
< breaks (CRLF not preceeded by "=") since that's the part that has
< "textual" semantics, and a decoder is allowed to translate those to the
< local linebreak convention.
<
< It still sounds, though, like the program that is encoding binary data in
< QP is doing something wrong -- it's probably using hard breaks.

No, the program is encoding CR's as =0D. The problem is that munpack is
stripping those out after decoding them. My query to the group was: is
munpack wrong in doing so? You and Ned appear to agree with my feeling that
munpack is indeed wrong.

					Tony Hansen
			  hansen@pegasus.att.com, tony@attmail.com
		    http://ourworld.compuserve.com/homepages/Tony_Hansen