🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #57409

Re: [yEnc] A small MIME fix

#57409
From: Jeremy
Date: Tue, 19 Mar 2002 12:45
36 lines
2323 bytes
Juergen Helbing <archiver@i3w.com> wrote:

> The biggest problem with this kind of "quick fix" is that it will never
> permit to write a MIME-decoder which decodes yEnc properly.
> It will stay _always_ a "workaround" where a MIME decoder 
> within a newsreader will have to scan the "application/xxxxx"
> to make decisions about the encoding.

But that's exactly what you're doing now.

All you need to do is add those three headers to each yEnc post.  Nothing
else.  Nothing special in the message body.  It will work with existing
decoders.  This particular workaround doesn't have to do with using the
client's MIME decoder; it has to do with *preventing* the client's MIME
decoder, or some other software while the message is in transit, from
messing up the message and rendering it unusable.

If you make the message's Content-Type "application/x-yyencode" or
whatever, the client will treat it as opaque binary data and will
not attempt to change it.

That's *all* this does, but I think it's important.

> When I made this proposal (in Oct 2001) I also faced the problem 
> that the "filename" must be modified:  [...]

You don't even need to bother with a MIME filename.  Just do everything
exactly like you're doing it now, but add those three static headers
the same way in every post.

This is *not* a proposal for "doing yEnc within MIME".  This is a
temporary workaround to make yEnc work without MIME doing it harm.

-- 
Jeremy  |  jeremy@exit109.com
Technical Details
Message-ID: <1016541931.27617@ok-corral.gunslinger.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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!sjc-peer.news.verio.net!news.verio.net!sn-xit-01!sn-xit-04!supernews.com!saloon!newsbastard
References: <87k7s9d7tr.fsf@iki.fi> <51039.j32205@archiver.winews.net>

Show Full Headers
Complete Article Headers
Message-ID: <1016541931.27617@ok-corral.gunslinger.net>
Subject: Re: [yEnc] A small MIME fix
Date: Tue, 19 Mar 2002 12:45:31 +0000
From: Jeremy <jeremy@exit109.com>
References: <87k7s9d7tr.fsf@iki.fi> <51039.j32205@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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!sjc-peer.news.verio.net!news.verio.net!sn-xit-01!sn-xit-04!supernews.com!saloon!newsbastard
Newsgroups: news.software.nntp
Organization: There Is No Organization
Lines: 35
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
X-Meow: Meow