Closed Bug 338902 Opened 19 years ago Closed 19 years ago

htab appears in attachment filename

Categories

(SeaMonkey :: MailNews: Message Display, defect)

x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 240924

People

(Reporter: jc, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.2) Gecko/20060404 SeaMonkey/1.0.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.2) Gecko/20060404 SeaMonkey/1.0.1 When mail messages contain attachment filenames in folder headers containing htab, seamonkey embeds an htab in the filename - making an illegal filename - instead of treating htab as whitespace as it should. Reproducible: Always Steps to Reproduce: 1. Send an email message with a filename longer than 72 characters that includes spaces. 2. Try to save that attachment 3 [review]. Actual Results: Seamonkey will attempt to create a filename including an htab that windows cannot save. Expected Results: whitespace converted to a single space Other bugs have noted that this same problem affects processing of other headers.
Without seeing the actual MIME headers of the part in question, I can't state whether this actually is a bug. As noted at bug 240924 comment 6, the mail client is supposed to leave embedded whitespace in a header when it unfolds it. The sending client shouldn't be folding the filename without using some encoding scheme (RFC 2047 or RFC 2231).
(In reply to comment #1) > Without seeing the actual MIME headers of the part in question, I can't state > whether this actually is a bug. As noted at bug 240924 comment 6, the mail > client is supposed to leave embedded whitespace in a header when it unfolds it. > The sending client shouldn't be folding the filename without using some > encoding scheme (RFC 2047 or RFC 2231). > OK, I've tracked down what client causes this problem - it is always from Microsoft Outlook Express for Mac - so, I think we'd better accommodate it rather than hope that Microsoft will fix it. Here is an example of a folded title header with the same problem. User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.0.6 Date: Thu, 13 Jul 2006 08:28:49 -0400 Subject: from Kevin Bean re John Mbiti Part II - Next Thursday July 20... and other things Seamonkey displays a little black mark in the message list instead of white space. What Seamonkey should do, I think, is simply replace all HTABS with blanks in headers, or in the file save component and subject lister.
(In reply to comment #2) > Seamonkey displays a little black mark in the message list instead of white > space. What Seamonkey should do, I think, is simply replace all HTABS with > blanks in headers, or in the file save component and subject lister. Is this bug about the Subject header, or is it about attachment filenames? Comment 2 is about the problem at bug 240924 (where you have already posted a comment). If this bug isn't about the attachment filename case, mark this bug as a dupe of that. If it *is* about the attachment filename case, please provide sample headers showing that problem.
No response from reporter, duping. *** This bug has been marked as a duplicate of 240924 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.