Closed Bug 208196 Opened 21 years ago Closed 21 years ago

Appledouble (applefile?) attachments are not properly named

Categories

(MailNews Core :: Attachments, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.7alpha

People

(Reporter: baffoni, Assigned: mscott)

Details

I have received a couple of emails from MacOSX machines (using the OSX mail app)
that were apple-double encoded.  Although the attachment is shown and
view/saveable, the name of the attachment is that of the name from the
apple-file attachment rather than the data fork.  Here are some snippets of the
source of the messages.  In each case, the name with the "%" in the beginning
shows in the attachment pane, not the name without it:

Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030529
Netscape 4.79 has no problem displaying the correct name.

-------------8<----------------------
--============_-1169023500==_============
Content-Id: <p05111a05ba521d793a78@[192.168.12.99].0.0>
Content-Type: multipart/appledouble;
boundary="============_-1169023500==_D============"

--============_-1169023500==_D============
Content-Transfer-Encoding: base64
Content-Type: application/applefile; name="%000_0037.JPG"
Content-Disposition: attachment; filename="%000_0037.JPG"
 ; modification-date="Sat, 18 Jan 2003 14:53:12 -0800"

AAUWBwACAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAADAAAASgAAAAwAAAAJAAAAVgAAACAA
[etc.]
--============_-1169023500==_D============
Content-Type: application/octet-stream; name="000_0037.JPG"
 ; x-mac-type="00000000"
 ; x-mac-creator="00000000"
Content-Disposition: attachment; filename="000_0037.JPG"
Content-Transfer-Encoding: base64

/9j/4RSoRXhpZgAATU0AKgAAAAgACQEPAAIAAAAWAAAAegEQAAIAAAArAAAAqgESAAMA

-------------8<----------------------

--============_-1165066304==_============
Content-Id: <p05111a11ba8e7fb6e7ad@[192.168.12.99].0.0>
Content-Type: multipart/appledouble;
boundary="============_-1165066304==_D============"

--============_-1165066304==_D============
Content-Transfer-Encoding: base64
Content-Type: application/applefile; name="%WPdragonEye.pdf"
Content-Disposition: attachment; filename="%WPdragonEye.pdf"
 ; modification-date="Fri, 7 Mar 2003 08:05:03 -0800"

AAUWBwACAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAADAAAAPgAAAA8AAAAJAAAATQAAACAA
[etc.]
--============_-1165066304==_D============
Content-Type: application/octet-stream; name="WPdragonEye.pdf"
 ; x-mac-type="00000000"
 ; x-mac-creator="00000000"
Content-Disposition: attachment; filename="WPdragonEye.pdf"
Content-Transfer-Encoding: base64

JVBERi0xLjMKJcTl8uXrp/Og0MTGCjIgMCBvYmoKPDwgL0xlbmd0aCAxIDAgUiAvRmls
The fix for this is in Bug #229879. 
Assignee: sspitzer → mscott
fixed (really a dup)
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.7alpha
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.