🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #62549

Re: yEnc decoding implementation

#62549
From: Russ Allbery
Date: Sun, 29 Dec 2002 23:59
36 lines
2714 bytes
Bas Ruiter <lordsnow@home.nl> writes:

>> yEnc is a "magic string in the body" encoding protocol, something that
>> some of us hoped people were finally over after the 1980s.  It's an
>> obviously broken way to do things, and it's really frustrating that
>> people with more enthusiasm than knowledge continue to reinvent square
>> wheels.

> The solution would be to introduce a binary-specific Header,

No need.  Content-Transfer-Encoding works fine, either at the top level or
in the appropriate section of the multipart.

Using CTE even does the right thing for existing readers, as the MIME
standard requires that messages with an unknown CTE be treated as opaque
application/octet-stream parts, which is exactly what you want if you want
to save them to run an external decoder on.

> and perhaps a standard tag in one of the XOVER Headers to signal that
> this new Header is there?

Why do you need this?  You can't tell from the headers whether the message
is in yEnc now; why would an alternate implementation of the basic yEnc
concept require that?

It would separately be useful to be able to tell binary postings from
XOVER data, but yEnc as it exists today doesn't solve that problem either.
People posting in yEnc right now put some comment to that effect in the
Subject header.  You can do that no matter how you encode the post.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <yl8yy8l6le.fsf@windlord.stanford.edu>
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!shelby.stanford.edu!not-for-mail
References: <PM0003B2ED450C7E1E@minion.nashville.comcast.net> <20021229082401.490$G0@newsreader.com> <yllm28od76.fsf@windlord.stanford.edu> <buuu0v8d1n05mdg4ep53euagu0bvrpnj5p@4ax.com>

Show Full Headers
Complete Article Headers
Message-ID: <yl8yy8l6le.fsf@windlord.stanford.edu>
Subject: Re: yEnc decoding implementation
Date: Sun, 29 Dec 2002 15:59:25 -0800
From: Russ Allbery <rra@stanford.edu>
References: <PM0003B2ED450C7E1E@minion.nashville.comcast.net> <20021229082401.490$G0@newsreader.com> <yllm28od76.fsf@windlord.stanford.edu> <buuu0v8d1n05mdg4ep53euagu0bvrpnj5p@4ax.com>
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!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 35
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1041206365 812 171.64.13.23 (29 Dec 2002 23:59:25 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Honest Recruiter,
 sparc-sun-solaris2.6)
Cancel-Lock: sha1:Fclt+KjzsVtSzed77hcDThO1ZIY=