Article View: news.software.nntp
Article #57519Re: [yEnc] A small MIME fix
From: Nuutti Kotivuori
Date: Thu, 21 Mar 2002 19:18
Date: Thu, 21 Mar 2002 19:18
123 lines
5591 bytes
5591 bytes
Juergen Helbing wrote: > Nuutti Kotivuori <naked@iki.fi> wrote: > >> MIME-Version: 1 >> Content-Type: application/x-yyencoded >> Content-Transfer-Encoding: 8bit > > Just made a short test of this (to make sure what my own > tools - and others ;-) would do with such MIME-headers > in the messages - if they are invented: Oh thank you, this helps a lot. > It seems that my version OE is no longer able to join > multiparts automatically if such headers are used. > It permits to join & decode manually - and then > write the file with the full subject as filename to disk. Hmm, ponder. > It hides the parts - and there is not any text seen in the > message body pane. Just the attachment icon. This was exactly the intention. > Combining and storing the parts results in one large > file. But - as I noted previously - the CRLF between the > messages is removed. This creates one large line > which contains the =yend part=1 ....... =ybegin part=2 Ah, hmm. > So the external yDecoder cant decode this file. Obviously. > And additional empty line after =yend must be included to > make this work. (Some other newsreader might store this > line-seperator as an empty line into the file, but for yEnc > this is no problem because it is resistant to empty lines > outside the =ybegin-=yend clause. > Other formats (QPlite) have more problems with this. Hmm - I wonder if this is proper behaviour or not. The last line must be terminated with a CRLF in a 8bit message, but I do not know if that means that it should not be interpreted as a part of the message body. The MIME RFC's do not mention much about this. But in any case, that is not desired behaviour - the double CRLF at the end of an message might not be too much of a problem though. But - if you at all happen to have the time - could you repeat the test with having the CTE as binary instead: Content-Transfer-Encoding: binary That too is quite correct by MIME - it's just a more lenient transfer encoding than 8bit. Though in the end, the RFC's quite clearly say that 7bit, 8bit and binary must all be identity transformation - they must not modify the body. But maybe 'binary' triggers a bit better binary handling in news readers after all. So, if you have time, please test that - if that doesn't work any better, then I must say that OE is once again quite broken in that respect. > And - of course - it is not possible to display the "raw text" > quickly. So any raw text in front of the binary is never visible. > If the filename is not mentioned in the subject line then the user > will never see it again. Well the 'not possible to display raw text' part is wished, actually - atleast from my POV. > Single parts seems to work with this method. > Even without the additional CRLF. > But I dont know how many other decoders would have > problems with a last line which is not terminated by CRLF > but end-of-file. Yeah, that is a problem - the last line should be terminated. > I did make these test because I was not sure - as you said - > that your proposal is identical to one I made earlier. > But unfortunately I am running into the same problems all > the time: As soon as MIME is used the newsreaders all > work differently - as you see in this example even with > an "8bit" transfer encoding. True, there seems to be minute details that change - though see the test proposal above. > Perhaps it would work better with a "full" multipart definition > - but this has other consequences. (And even Jeremy is > meanwhile thinking about better solutions than > message/multipart ....) Well that is not the subject in this thing - it's further work to make yEnc a CTE. > My most favorite newsreader is able to handle such posts. > But this one has no problems with yEnc at all as long as it > is fully embedded into MIME. > > > Everybody might feel free to do similar tests. > Feel free to create such messages and post them to: > alt.binaries.test.yenc > I would download them and run all my own tools on them. > I am ready to _help_ in the verification of the different > possible variants - perhaps someone can find one which > really works. > But I'd better not try to create new ones myself. Thank you, that really helps. Even though there are some problems like this, I am quite confident that we can, in fact, find a suitable solution for this thing. -- Naked
Technical Details
Message-ID:
<87it7pafvx.fsf@iki.fi>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!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!news.cc.tut.fi!uutiset.saunalahti.fi!localhostReferences:
<87k7s9d7tr.fsf@iki.fi> <0951b.l32200@archiver.winews.net>Show Full Headers
Complete Article Headers
Message-ID: <87it7pafvx.fsf@iki.fi> Subject: Re: [yEnc] A small MIME fix Date: Thu, 21 Mar 2002 21:18:42 +0200 From: Nuutti Kotivuori <naked@iki.fi> References: <87k7s9d7tr.fsf@iki.fi> <0951b.l32200@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!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!news.cc.tut.fi!uutiset.saunalahti.fi!localhost Newsgroups: news.software.nntp Organization: SAUNALAHDEN asiakas Lines: 122 NNTP-Posting-Host: cs183115.pp.htv.fi Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: tron.sci.fi 1016738383 22662 213.243.183.115 (21 Mar 2002 19:19:43 GMT) X-Complaints-To: newsmaster@saunalahti.fi NNTP-Posting-Date: 21 Mar 2002 19:19:43 GMT User-Agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.4 (Common Lisp, i386-debian-linux) Cancel-Lock: sha1:y6dqi9UDbFwXRbAtOLIOhpDcjUw=