Article View: news.software.nntp
Article #56958Re: Servers and yEnc
From: Dirk Nimmich
Date: Wed, 27 Feb 2002 22:32
Date: Wed, 27 Feb 2002 22:32
153 lines
7288 bytes
7288 bytes
The Archiver wrote: > Dirk Nimmich <nimmich@muenster.de> wrote: >>Obviously, you did not understand what I wanted to say. I did not >>demand anything but a specification about how a given filename in >>the subject line or ybegin line is to be interpreted. Especially in >>the case of exceptions to standard US-ASCII names. > > Sorry, I see no chance to specify how a japanese filename has > to be interpreted on a text based UNIX System. You don't have to. You only have to specify what charset and encoding is to be used. What a client is doing with it in the end is the business of the programmer, not yours. > I dont want to specify what a "filename" is at all. Pity. > This is not my job. It is. There must be at least a statement like this: > Non US-ASCII characters are not permitted in filenames. This is ok. (But it won't work. People are using characters they can type in. That's more than US-ASCII, even on an US mapped keyboard. And people will tell you that it "works" as they do when using undeclared 8 bit characters in text postings.) You are talking about what people do in reality -- but in a very important area you close your eyes. > All I could do in the yEnc spec was to place the keyword "name=" > at the end of the line. And to enclose it in quotes in the subject line. You could do more. You could specify that * the filename has to be enclosed in quotes after the "name=" keyword as well as in the subject line, making it possible to have the name parameter occuring anywhere in the =ybegin line; * no filename can contain TAB or double quotes (add more characters if needed); * a decoder that knows of other critical characters in filenames may choose to ignore them, too; * any part of a filename before the last occurance of either forward or backward slashes has to be ignored (security!); * the coding charset for filenames is Unicode and the encoding is UTF-8; * if filenames in the subject line and the name parameter differ, the one mentioned in the name parameter is the authoritive name; * no MIME CTE of Subject and body is allowed. Just to mention some. > All newsreaders in the world which are storing decoded attachments > to the harddisk are converting filenames and are removing illegal > characters based on the _operating_ system they are written for. Do they? You are definitely an optimist. But if they really do, that may be ok. See above. But it must be documented. > If you want to create a "standard" for this topic then you have to respect > _everything_ from 8+3 DOS up to UniCode. You still don't understand. You are defining a format to transfer files. For your format spec it is completely irrelevant how a decoder would save the file in the end. The only important thing is how a decoder has to interpret the format. If the programmer decides that he does not want to support non US-ASCII characters in his implementation he has to think about what to do if and when they occur. They certainly will! With your current specification (i. e. nothing about this topic -- "don't care about it") it most certainly does not even come to his mind that there may be characters other than US-ASCII. Unfortunately knowledge about different charsets and security issues concerning file systems does not seem to be very wide spread, so it's up to you make some notes about it. > I dont haven even an idea how such a standard could be. > If you can help here - feel free to do it. I already gave you a lot of hints but I have the feeling that most of them don't reach you. > I can _easily_ copy & paste recommendations for filenames > into the yEnc - draft. But please dont ask me how programmers > will realise it. I don't ask you because that is not necessary. But I will continue to ask you about how to interprete your format. > yEnc does not claim to solve the problems of localisation That is not its goal. Right. So you can define the format and leave the localization (if needed) to implementors. That are what implementors are for. > - and when it comes to me then localisation is strictly > _forbidden_ for binaries on Usenet. We are just talking about filenames that are part of your format. Not about binaries in general. (You won't be able to localize them even if you wanted to.) > As long as a filenames is: "xywrfdtsas.exe" > _everybody_ knows what to do with it. Ask a Macintosh user. > As soon as: "|^|^|~.|~|" is permitted things will go down the > toilet. It's a filename consisting of US-ASCII characters only. Your spec allows that. If you don't want it, document it as forbidden. >>> You cannot use HEAD because this requires endless downloads >>> just to find out incomplete parts. >> >> Why not? > > Please visit alt.binaries.startrek and download all HEADs from all > messages stored on NEWSHOSTING.COM to detect multiparts. I did not suggest to download headers of all messages using HEAD. Only those that were (manually or automatically by using heuristics) marked as "interesting". > yEnc was implemented quickly by a lot of developers because > it it easy, reasonable and offers true benefits. Yenc as a format is not easy, only the encoding is. Its specification is incomplete and undefined in parts. > As soon as it requires "redesign" of anything in other parts of > the software then developers will _not_ implement it quickly. Yes, and this is the most important argument against yenc. Because it is foreseeable that a fundamental redesign _is_ necessary. Cf. "hack". > Then an RFC is necessary - and if it is too difficult then Usenet > programmers will simply _ignore_ it (see: MIME). MIME is not ignored at all. But it is often misinterpreted and misimplemented.
Technical Details
Message-ID:
<a5jmov$iiv$03$1@news.t-online.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!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mailReferences:
<Xns91B8168561D9DHPotterhogswarthcom@66.75.162.196> <slrna7746e.1dfg.andrew+nonews@trinity.supernews.net> <200220021438285144%planb@newsreaders.com> <1014235814.538156@ok-corral.gunslinger.net> <36169.l22207@archiver.winews.net> <pan.2002.02.23.03.38.54.410120.15165@nevermind.where> <5726c.o22200@archiver.winews.net> <a5ba1k$feh$03$1@news.t-online.com> <0442a.p22204@archiver.winews.net> <a5e7ll$evu$04$1@news.t-online.com> <3007a.q22207@archiver.winews.net>Show Full Headers
Complete Article Headers
Message-ID: <a5jmov$iiv$03$1@news.t-online.com> Subject: Re: Servers and yEnc Date: Wed, 27 Feb 2002 23:32:00 +0100 From: Dirk Nimmich <nimmich@muenster.de> References: <Xns91B8168561D9DHPotterhogswarthcom@66.75.162.196> <slrna7746e.1dfg.andrew+nonews@trinity.supernews.net> <200220021438285144%planb@newsreaders.com> <1014235814.538156@ok-corral.gunslinger.net> <36169.l22207@archiver.winews.net> <pan.2002.02.23.03.38.54.410120.15165@nevermind.where> <5726c.o22200@archiver.winews.net> <a5ba1k$feh$03$1@news.t-online.com> <0442a.p22204@archiver.winews.net> <a5e7ll$evu$04$1@news.t-online.com> <3007a.q22207@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!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail Newsgroups: news.software.nntp Organization: T-Online Lines: 152 Sender: Dirk Nimmich <dirk@roxel.ms.sub.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.t-online.com 1014849120 03 19039 C1StTfRESWYvMq 020227 22:32:00 X-Complaints-To: abuse@t-online.com X-Sender: 340032227593-0001@t-dialin.net