Article View: news.software.nntp
Article #55047Re: Announce: yEncoding - site with info has been created.
From: Andrew
Date: Thu, 08 Nov 2001 10:40
Date: Thu, 08 Nov 2001 10:40
45 lines
2901 bytes
2901 bytes
In article <3be943fa.12864292@news.alt.net>, The Archiver wrote: > FYI: > > After more internal discussion and the first two implementations I've > now finally activated an information website for yEnc: > > http://www.yenc.org > http://www.i3w.com/yenc (mirror) Disappointing that you've managed to repeat almost all of uuencode's worst faults. The specific advantage that qp-lite had over your proposal is the significant installed base of client software that can _already_ decode it successfully. The expansion of nulls is the only serious drawback. Your proposal, on the other hand, continues the ridiculous tradition of uuencode of identifying the content and encoding of a message by looking for magic strings in the body. You'll note that already one post in this thread has contained that string. Your example of using yenc and MIME together shows that you've completely missed the point of how MIME works. There are two ways of doing it correctly: either use a specific content-type, e.g. application/x-yenc-encoded-file, rather than application/octet-stream; this allows MIME applications to decode the data automatically. In this case the content-transfer-encoding should be set to 8bit. The other way is to use x-yenc as the content-transfer-encoding, and use the _correct_ content-type and filename in the MIME headers (e.g. image/jpeg or whatever); this requires software changes in the MIME decoded in order to support the different transfer-encoding (which is why the MIME specs make addition of transfer encodings very hard, whereas adding a content-type is trivial). Using file extensions to distinguish content types is the mistake that OE (and for that matter Windows generally) makes that led to some, um, interesting security holes. Generating valid MIME articles is pretty straightforward if you're not trying to allow the user to compose arbitrarily-complex structured types. Parsing and decoding them is only slightly harder. -- Andrew, Supernews http://www.supernews.com - individual and corporate NNTP services
Technical Details
Message-ID:
<slrn9uko80.30gm.andrew+nonews@trinity.supernews.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!sn-xit-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mailReferences:
<3be943fa.12864292@news.alt.net>Show Full Headers
Complete Article Headers
Message-ID: <slrn9uko80.30gm.andrew+nonews@trinity.supernews.net> Subject: Re: Announce: yEncoding - site with info has been created. Date: Thu, 08 Nov 2001 10:40:08 -0000 From: andrew+nonews@supernews.com (Andrew) References: <3be943fa.12864292@news.alt.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!sn-xit-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Newsgroups: news.software.nntp Organization: Posted via Supernews, http://www.supernews.com Reply-To: andrew@supernews.com User-Agent: slrn/0.9.7.1 (FreeBSD) X-Complaints-To: newsabuse@supernews.com Lines: 44