🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #46588

Re: uuencoded text attachments rejected

#46588
From: Andrew Gierth
Date: Thu, 25 May 2000 00:00
31 lines
2238 bytes
>>>>> "Jeremy" == Jeremy  <bofh@netscum.dk> writes:

 > Andrew Gierth  <andrew@erlenstar.demon.co.uk> wrote:
 >> No. Quoted-printable specifically _doesn't_ handle differences in line
 >> ending conventions of _text_ data. You can of course treat the data as
 >> a non-text type, e.g. application/octet-stream, instead.

 Jeremy> Hm.  I just tried a MIME-attachment of a text file with CRLF
 Jeremy> line endings, attached as text/plain; charset=us-ascii, with
 Jeremy> a transfer-encoding of quoted-printable, and mailed it to
 Jeremy> myself on a Unix system, and it preserved the line endings.
 Jeremy> With a 7bit transfer-encoding, it stripped them.

 Jeremy> Was my test invalid, or is Mutt just handing it wrong?

This is probably Mutt handling it slightly wrong. Did the QP form of
the message have lines ending in =0D? If so, then what was happening
was:

input line in local format: "foo<CR>" (delimited by LF)
converted to canonical form: "foo<CR><CRLF>"
converted to QP: "foo=0D<CRLF>"

and then converted back the same way. However, the canonical form is
illegal under the rules for text/plain, which require that CR not
occur except as part of a linebreak (always <CRLF> in canonical form).

-- 
Andrew.

Technical Details
Message-ID: <87vh03b5zt.fsf@erlenstar.demon.co.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <siojuuko150@corp.supernews.com> <sioungc6o1169@corp.supernews.com> <959217429.500747@news.netscum.dk> <87g0r7cszs.fsf@erlenstar.demon.co.uk> <959228508.237122@news.netscum.dk>

Show Full Headers
Complete Article Headers
Message-ID: <87vh03b5zt.fsf@erlenstar.demon.co.uk>
Subject: Re: uuencoded text attachments rejected
Date: Thu, 25 May 2000 00:00:00 +0000
From: Andrew Gierth <andrew@erlenstar.demon.co.uk>
References: <siojuuko150@corp.supernews.com> <sioungc6o1169@corp.supernews.com> <959217429.500747@news.netscum.dk> <87g0r7cszs.fsf@erlenstar.demon.co.uk> <959228508.237122@news.netscum.dk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 627017021
X-Mayan-Date: Long count = 12.19.7.4.5; tzolkin = 11 Chicchan; haab = 8 Zip
X-Complaints-To: andrew@erlenstar.demon.co.uk
Organization: disorganised
X-Attribution: AG
X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29
X-P-Persistent-Headers: are a bad idea.
Newsgroups: news.software.nntp
X-Post-Filter: postfilter v0.6 alpha