6.0.0-beta1
9/24/25

[#2050] Messages with AppleDouble MIME parts causing trouble
Summary Messages with AppleDouble MIME parts causing trouble
Queue IMP
Queue Version HEAD
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester kevin_myer (at) iu13 (dot) org
Created 05/31/2005 (7421 days ago)
Due
Updated 06/08/2005 (7413 days ago)
Assigned
Resolved 05/31/2005 (7421 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
06/08/2005 08:56:09 PM kevin_myer (at) iu13 (dot) org Comment #10 Reply to this comment
That difference wasn't clear to me in the description of the problem,
but it doesn't make any sense either. We haven't changed whether or
not we take the browser's mime type for attachments.
And I'd say it wasn't possible either, if I didn't have two messages 
with two different user agents:



User-Agent: Internet Messaging Program (IMP) 3.1

User-Agent: Internet Messaging Program (IMP) H3 (4.0.3)



Same file, different encoding.  Unless the user is using a different 
browser with each and not telling me.  That's always a possibility and 
probably a far more liklier reality than using the same browser with 
different encodings.
06/08/2005 07:19:21 PM Chuck Hagenbuch Comment #9 Reply to this comment
Why does sending the same document with the same browser work with
Horde 2.X but not Horde 3.X?  Obviously, different MIME handling but
why Content-Type: application/msword with one and Content-Type:
multipart/appledouble with the other?
That difference wasn't clear to me in the description of the problem, 
but it doesn't make any sense either. We haven't changed whether or 
not we take the browser's mime type for attachments.
06/08/2005 06:16:15 PM kevin_myer (at) iu13 (dot) org Comment #8 Reply to this comment
One question, if I may:



Why does sending the same document with the same browser work with 
Horde 2.X but not Horde 3.X?  Obviously, different MIME handling but 
why Content-Type: application/msword with one and Content-Type: 
multipart/appledouble with the other?
06/08/2005 05:44:42 PM kevin_myer (at) iu13 (dot) org Comment #7 Reply to this comment
05/31/2005 03:38:13 AM Chuck Hagenbuch Comment #6 Reply to this comment
bug 2052 created with the only info relevant to what IMP could 
possibly be doing wrong created. happy?
05/31/2005 02:54:42 AM kevin_myer (at) iu13 (dot) org Comment #5 Reply to this comment
Thats my whole point for logging the bug report - IMP generated this 
badly broken message.  You can blame it on the browser or the user, 
but the User Agent ultimately responsible for generating the bad 
message out of bad data is IMP...



Change the subject to be "Prevent messages generated by IMP with 
malformed AppleDouble MIME parts [because they cause trouble]" and 
change it from a bug to an enhancement request.  I don't care about 
the display of bad MIME data, since that's what this turned out to be 
and I wouldn't expect a badly broken message to be displayed.  I do 
care (and my users care) about working around broken browsers' MIME 
types and not having IMP pass on partial AppleDouble components from 
file uploads - better to notify them their browser is hosed then to 
have them get frustrated by repeatedly sending messages with alleged 
attachments and the recipients constantly responding they didn't get 
the attachment.  I'll try and figure out how this is even possible 
from Firefox because the only place I've routinely seen AppleDouble is 
in the context of an email - never seen it in browser MIME settings.
05/31/2005 02:03:51 AM Chuck Hagenbuch Comment #4 Reply to this comment
There's no way the browser should be specifying a multipart mimetype 
for a single file upload - it makes no sense. And yes, perhaps we 
should catch and reject that, but that has nothing to do with the 
message that you attached to this ticket, or with the subject of the 
ticket - the attached message is very, very broken and there's no way 
to display anything from it.
05/31/2005 02:00:06 AM kevin_myer (at) iu13 (dot) org Comment #3 Reply to this comment
But if I'm an application and a browser hands me some data, that by 
spec should contain two parts, and then proceeds to pass only one 
piece of data to me, shouldn't the application catch that and abort 
the process, instead of passing a malformed AppleDouble attachment?   
Relying on the browser to enforce the AppleDouble spec is not a good 
thing, IMHO.  If I could figure out how in the world the browser was 
even suggesting AppleDouble, I'd maybe be able to suggest a permanent 
solution.



FWIW, I just attached a simple Word document to an email with Firefox 
on my Powerbook and it shows up as text/richtext, leading me to 
believe that Firefox has got some serious issues with MIME types.




05/31/2005 12:49:54 AM Chuck Hagenbuch Comment #2
State ⇒ Not A Bug
Reply to this comment
There is nothing we can do with this message. multipart/appledouble 
implies two parts - that's the appledouble spec - and this mesage has 
just one. No way we can get anything out of that.
05/31/2005 12:00:55 AM kevin_myer (at) iu13 (dot) org Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Messages with AppleDouble MIME parts causing trouble
Queue ⇒ IMP
New Attachment: message.zip Download
State ⇒ Unconfirmed
Reply to this comment
Per discussion on the mailling list, here is the problem message in 
encrypted zip format.



Gives me trouble in Outlook Express under XP, although I don't know if 
OE even knows about AppleDouble.  AppleDouble MIME part also not 
decoded in Thunderbird either (doesn't even show up).

Saved Queries