Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ripMIME: general

How to correctly interpret a filename -

 

 

ripMIME general RSS feed   Index | Next | Previous | View Threaded


pldaniels at pldaniels

May 1, 2003, 6:18 PM

Post #1 of 3 (988 views)
Permalink
How to correctly interpret a filename -

In a mailpack I'm working with right now, I have the following headers:

Content-Type: application/octet-stream;
name=B961809;sz=720x300;ord=2002.04.05.18.57[1].htm
Content-Transfer-Encoding: base64
Content-ID:

My question centers around how to best assign the filename of this attachment,
namely due to the fact that according to RFC, I think that this should be saved
as 'B961809', though I have reason to believe that other email clients may
actually see this as 'B961809.htm'.

Anyone got some suggestions?

--
Paul L Daniels http://www.pldaniels.com
Linux/Unix systems Internet Development
ICQ#103642862,AOL:cinflex,IRC:inflex
A.B.N. 19 500 721 806


pcrooker at orix

May 1, 2003, 6:22 PM

Post #2 of 3 (942 views)
Permalink
Re: [Inflex-general] How to correctly interpret a filename - [In reply to]

Dumb question: is it a web page?

cheers, Phil


On Fri, 2 May 2003, Paul L Daniels wrote:

> In a mailpack I'm working with right now, I have the following headers:
>
> Content-Type: application/octet-stream;
> name=B961809;sz=720x300;ord=2002.04.05.18.57[1].htm
> Content-Transfer-Encoding: base64
> Content-ID:
>
> My question centers around how to best assign the filename of this attachment,
> namely due to the fact that according to RFC, I think that this should be saved
> as 'B961809', though I have reason to believe that other email clients may
> actually see this as 'B961809.htm'.
>
> Anyone got some suggestions?
>
>


pldaniels at pldaniels

May 1, 2003, 6:29 PM

Post #3 of 3 (956 views)
Permalink
Re: [Inflex-general] How to correctly interpret a filename - [In reply to]

On Fri, 2 May 2003 10:52:21 +0930 (CST)
Phil Crooker <pcrooker [at] orix> wrote:

> Dumb question: is it a web page?

No, it's actually a BASE64 encoded binary file.

Hence my view that it's a way of tricking various MUA's (ie, Outlook) into
convincing the user that they're looking at a HTML page when in fact it's an
executable.

The problem is Im not sure exactly what is broken in Outlook/Express to allow it
to see the filename as B192809.htm rather than just the B****** as it should be
[. anything after those ;'s should be interpreted as further parameters, not
additional components of a filename ].

Regards

--
Paul L Daniels http://www.pldaniels.com
Linux/Unix systems Internet Development
ICQ#103642862,AOL:cinflex,IRC:inflex
A.B.N. 19 500 721 806

ripMIME general RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.