Article View: news.software.nntp
Article #57504Re: [yEnc] A small MIME fix
From: Juergen Helbing
Date: Thu, 21 Mar 2002 10:51
Date: Thu, 21 Mar 2002 10:51
74 lines
3496 bytes
3496 bytes
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: 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. It hides the parts - and there is not any text seen in the message body pane. Just the attachment icon. 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 So the external yDecoder cant decode this file. 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. 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. 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. 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. 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 ....) 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. -- Juergen
Technical Details
Message-ID:
<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!logbridge.uoregon.edu!tethys.csu.net!news-hog.berkeley.edu!ucberkeley!news.spiralweb.com!peer1-sjc1.usenetserver.com!usenetserver.com!news.alt.net!usenetReferences:
<87k7s9d7tr.fsf@iki.fi>Show Full Headers
Complete Article Headers
Message-ID: <0951b.l32200@archiver.winews.net> Subject: Re: [yEnc] A small MIME fix Date: Thu, 21 Mar 2002 10:51:09 +0000 From: archiver@i3w.com (Juergen Helbing) References: <87k7s9d7tr.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!logbridge.uoregon.edu!tethys.csu.net!news-hog.berkeley.edu!ucberkeley!news.spiralweb.com!peer1-sjc1.usenetserver.com!usenetserver.com!news.alt.net!usenet Newsgroups: news.software.nntp Organization: Altopia Corp. - Usenet Access - http://www.altopia.com Lines: 73 X-Newsreader: MyNews