Menu

#37 UBH cannot deal with mime msgs where file has no extension

open
nobody
5
2004-02-28
2004-02-28
No

I'm finding lots of MIME articles with similar format:

Subject: This is a new one -- shuttle.jpg (1/1)
Mime-Version: 1.0
Content-Type: multipart/mixed;
boundary="--------123456

This is a multi-part message in MIME format.

------------123456
Content-Type:text/plain;
Content-Transfer-Encoding: 7bit

------------123456
Content-Type: image/jpeg;
name="123456"
Content-Transfer-Encoding:base64
Content-Disposition:attachment;
filename="123456"

This one I cannot download with both ubh 2.5 and 2.6b from CVS
b/c ubh looks only at the extensions of the file-name and nothing
else.

ubh will log:
MIME Subject: This is a new one -- shuttle.jpg (1/1)
Skipping file with unwanted extension: msg-666-230.txt
Skipping file with unwanted extension:123456
Skipping file with unwanted extension: msg-666-231.txt

Two things that ubh could check:
1. If no extension in the filename, create one out of Content-Type
2. Look in the Subject for it (this is what I hacked into 2.5)

Discussion


Log in to post a comment.

MongoDB Logo MongoDB