🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #57545

Re: [yEnc] A small MIME fix

#57545
From: Nuutti Kotivuori
Date: Fri, 22 Mar 2002 20:11
80 lines
4519 bytes
Juergen Helbing wrote:
> Nuutti Kotivuori <naked@iki.fi> wrote:
> 
>> Hmm - I wonder if this is proper behaviour or not. The last line
>> must be terminated with a CRLF in a 8bit message, but I do not know
>> if that means that it should not be interpreted as a part of the
>> message body. The MIME RFC's do not mention much about this.
> 
> The Data part of a MIME encoded message is starting with an empty 
> line and ends with an empty line. Unfortunately at least one
> newsreader is adding that empty line to the resulting file when
> combining multiparts - if the CTE is not directly decodable
> (8bit, binarey, unknown, ....)

Err - an unknown CTE is a completely different matter than 7bit, 8bit
or binary. An unknown CTE is just that - you do not know how to decode
it. The 7bit, 8bit and binary CTE's are identity transformations - the
message is interpreted as is. If you save - or interpret - and unknown
CTE as is, you are breaking the standard. That does not ofcourse apply
to saving the whole message.

>> But - if you at all happen to have the time - could you repeat the
>> test with having the CTE as binary instead:
>> 
>> Content-Transfer-Encoding: binary
> 
> This behaviour is independent from the CTE.
> Only CTEs which are decoded by the newsreader are
> (hopefully) done correctly: UU & Base64.
> Also Quoted printable is scambled.

And this really wasn't inside a MIME multipart or anything?

Since then I must say that some newsreaders are weird as hell.

>> So, if you have time, please test that - if that doesn't work any
>> better, then I must say that OE is once again quite broken in that
>> respect.
> 
> There are serious weakness in the implementation of mutliparts in
> MIME. Not in the spec - but in the implementations.  And as nobody
> can check all the implementations out there other ways are necessayr
> for creating new methods of encoding (which ever).

Argh - I'm getting all confused here. Are you talking about MIME
multiparts - or just many posts which make up a complete file?

I do agree that the implementation of MIME multiparts is weak often -
but that shouldn't bother us, since do _not_ want to post multiparts.

>>> Perhaps it would work better with a "full" multipart definition -
>>> but this has other consequences. (And even Jeremy is meanwhile
>>> thinking about better solutions than message/multipart ....)
>>
>> Well that is not the subject in this thing - it's further work to
>> make yEnc a CTE.
> 
> If you release a "fix" which sends multiparts without using the
> MIME-integrated "multipart method" then you'll subject to flames
> as well as I am now for a few months.
> You will also face the accusation of not "doing it right".
> (But fortunately this is not me this time ;-)

I do see the matter as a bit differently. yEnc is like spilled milk -
and what tagging them binary could do is atleast have them behave with
MIME, if not co-operate. That is ofcourse only if it is added to the
draft and then complained often enough to the posting software
writers.

>> Even though there are some problems like this, I am quite confident
>> that we can, in fact, find a suitable solution for this thing.
> 
> Great.

Hm, I'll try to make a few test messages myself, if I could manage to
make them work properly.

-- Naked

Technical Details
Message-ID: <87663o9xcj.fsf@iki.fi>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newsfeed.media.kyoto-u.ac.jp!news.cc.tut.fi!uutiset.saunalahti.fi!localhost
References: <87k7s9d7tr.fsf@iki.fi> <0951b.l32200@archiver.winews.net> <87it7pafvx.fsf@iki.fi> <03519.m32202@archiver.winews.net>

Show Full Headers
Complete Article Headers
Message-ID: <87663o9xcj.fsf@iki.fi>
Subject: Re: [yEnc] A small MIME fix
Date: Fri, 22 Mar 2002 22:11:24 +0200
From: Nuutti Kotivuori <naked@iki.fi>
References: <87k7s9d7tr.fsf@iki.fi> <0951b.l32200@archiver.winews.net> <87it7pafvx.fsf@iki.fi> <03519.m32202@archiver.winews.net>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newsfeed.media.kyoto-u.ac.jp!news.cc.tut.fi!uutiset.saunalahti.fi!localhost
Newsgroups: news.software.nntp
Organization: SAUNALAHDEN asiakas
Lines: 79
NNTP-Posting-Host: cs183115.pp.htv.fi
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: tron.sci.fi 1016827927 7647 213.243.183.115 (22 Mar 2002 20:12:07 GMT)
X-Complaints-To: newsmaster@saunalahti.fi
NNTP-Posting-Date: 22 Mar 2002 20:12:07 GMT
User-Agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.4 (Common Lisp, i386-debian-linux)
Cancel-Lock: sha1:O/cFIlQLPZiHxR8MSDx/2v4Eleg=