Article View: news.software.nntp
Article #63436Re: yEnc decoding implementation
From: Russ Allbery
Date: Mon, 20 Jan 2003 20:32
Date: Mon, 20 Jan 2003 20:32
47 lines
3115 bytes
3115 bytes
Jeremy <jeremy@exit109.com> writes:
> A yEnc post consisting of a single MIME entity (ie, not a multipart
> post) will have the encoded data simply sitting in the message body with
> no delimiters.
Right.
> A server could add a blank line to the message,
This should be irrelevant, right? The yEnc protocol ignores line breaks.
> or worse, a signature block.
Those servers lose, and *should* lose. *sigh* Do we really have to work
around that degree of completely brain-dead brokenness? Servers have
absolutely *no* business adding signature blocks to any message that has
an unrecognized CTE.
> Plus, the MIME rule that the trailing CRLF in a top-level entity is
> considered part of the data, while the trailing CRLF in a leaf entity of
> a multipart is not considered part of the data, is something client
> authors seem to guess at and often get wrong. This can result in
> corruption of decoded files (I observed this when testing my original
> qp-lite stuff).
Again, doesn't yEnc ignore all the newlines?
>> I'm not sure this is actually useful. I guess it depends on the
>> chances of getting Content-Type into XHDR on binary servers and getting
>> binary download clients to use it, something I have no control over
>> since I don't run a binary server or write the clients. :)
> Sure, but you do write one of the servers, or at least lead the
> development of it.
There is, at present, no way to add new headers to the overview database
without returning them via XOVER in INN. Changing that is going to be
pretty difficult to do without destroying some significant optimization
potential, but I guess no one's using that potential right now.
--
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:
<ylbs2bmujp.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!news2.google.com!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mailReferences:
<PM0003B2ED450C7E1E@minion.nashville.comcast.net> <ylptqszh2j.fsf@windlord.stanford.edu> <1043036218.711994@ok-corral.gunslinger.net> <yl8yxgyqvl.fsf@windlord.stanford.edu> <1043094494.306870@ok-corral.gunslinger.net>Show Full Headers
Complete Article Headers
Message-ID: <ylbs2bmujp.fsf@windlord.stanford.edu> Subject: Re: yEnc decoding implementation Date: Mon, 20 Jan 2003 12:32:26 -0800 From: Russ Allbery <rra@stanford.edu> References: <PM0003B2ED450C7E1E@minion.nashville.comcast.net> <ylptqszh2j.fsf@windlord.stanford.edu> <1043036218.711994@ok-corral.gunslinger.net> <yl8yxgyqvl.fsf@windlord.stanford.edu> <1043094494.306870@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!news2.google.com!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 46 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 1043094746 17669 171.64.13.23 (20 Jan 2003 20:32:26 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:LbURHatwfdnYzuPB9wcKg96WVsY=