Article View: news.software.nntp
Article #61215Re: [FNTP] 'in-completeness'
From: Russ Allbery
Date: Wed, 09 Oct 2002 16:48
Date: Wed, 09 Oct 2002 16:48
57 lines
4621 bytes
4621 bytes
Curt Welch <curt@kcwc.com> writes:
> No, the MIME standard isn't "at fault" in that sense. You are right, a
> correctly implemeneted MIME decoder will show the picture. But even a
> correctly implemented MIME decoder will have this strange data fork
> attachment show up in the post which "is broken". They guy was simply
> trying to post a jpg to usenet, why did the software add this strange
> data file which looks like a virus?
Not if the person implementing the news client reviewed the MIME type
registrations maintained by IANA. If they had, they would have written
their client to ignore application/applefile parts inside a MIME type of
multipart/appledouble and just show the second part with its native MIME
type, unless of course the software was running on a Mac.
> The correct thing on Usenet is NOT to post native file formats (unless
> there's a justified reason like maybe you are trading files between Mac
> users in a Mac image group for example).
The nice thing about multipart/appledouble is that when correctly
implemented it doesn't matter at all.
> So, the better newsreaders are smart enough to not post apple-double
> format jpgs by default. But it happens. So the better newsreaders on
> the other side have to add special code, to convert apple-double jpg to
> Usenet standard jpg (by simply striping off the datafork and not
> presenting it to the user as an attachment).
This is exactly the sort of thing that you don't have to worry about if
the posting news reader used MIME properly.
> And it happens because MIME caused the confusion, even though the
> standard is not written wrong.
I don't agree with this. The MIME standards are explicitly clear about
what image/gif means and what multipart/appledouble means and what you
post as one or as the other. It would not be possible for the MIME
standards to be more clear on this point. There are just some people who
wrote clients badly and wrong, which is going to be true of any standard
you try to propose.
It's not like the existence of the multipart/appledouble stuff adds
complexity, either. This was well-designed. If you just read the base
standard and base registrations, it specifies image/jpeg and makes it
clear what that file format means, and it *does not* include a resource
fork. So posting something with a resource fork as image/jpeg is clearly
and completely wrong, and it's obvious from reading that standard that the
file has to be converted before posting. If you want to preserve that
information, you read farther and discover the multipart/appledouble
specification.
--
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:
<yl3crfimn9.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-mailReferences:
<58068.n92202@archiver.winews.net> <ylzntuxir5.fsf@windlord.stanford.edu> <041020021438385411%planb@newsreaders.com> <yl7kgyrpwd.fsf@windlord.stanford.edu> <041020021954536744%planb@newsreaders.com> <ylwuoxhhhx.fsf@windlord.stanford.edu> <20021005022430.397$TR@newsreader.com> <yld6qpv0rd.fsf@windlord.stanford.edu> <20021005043816.517$kr@newsreader.com> <yld6qosu9b.fsf@windlord.stanford.edu> <20021005183917.837$Qo@newsreader.com> <ylfzvkcwue.fsf@windlord.stanford.edu> <20021005233454.131$iS@newsreader.com> <ylu1jxaoda.fsf@windlord.stanford.edu> <20021007233918.512$5h@newsreader.com> <yln0pp350z.fsf@windlord.stanford.edu> <20021008165253.450$gn@newsreader.com> <ylwuosh81l.fsf@windlord.stanford.edu> <20021008215252.986$p1@newsreader.com> <0O00000O0O@news.radio.cz> <20021009110031.480$dz@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <yl3crfimn9.fsf@windlord.stanford.edu> Subject: Re: [FNTP] 'in-completeness' Date: Wed, 09 Oct 2002 09:48:26 -0700 From: Russ Allbery <rra@stanford.edu> References: <58068.n92202@archiver.winews.net> <ylzntuxir5.fsf@windlord.stanford.edu> <041020021438385411%planb@newsreaders.com> <yl7kgyrpwd.fsf@windlord.stanford.edu> <041020021954536744%planb@newsreaders.com> <ylwuoxhhhx.fsf@windlord.stanford.edu> <20021005022430.397$TR@newsreader.com> <yld6qpv0rd.fsf@windlord.stanford.edu> <20021005043816.517$kr@newsreader.com> <yld6qosu9b.fsf@windlord.stanford.edu> <20021005183917.837$Qo@newsreader.com> <ylfzvkcwue.fsf@windlord.stanford.edu> <20021005233454.131$iS@newsreader.com> <ylu1jxaoda.fsf@windlord.stanford.edu> <20021007233918.512$5h@newsreader.com> <yln0pp350z.fsf@windlord.stanford.edu> <20021008165253.450$gn@newsreader.com> <ylwuosh81l.fsf@windlord.stanford.edu> <20021008215252.986$p1@newsreader.com> <0O00000O0O@news.radio.cz> <20021009110031.480$dz@newsreader.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: 56 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 1034182106 1980 171.64.13.23 (9 Oct 2002 16:48: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:eSGYYeUQa/csCRtN4EL3JHFCRVk=