Closed
Bug 508609
Opened 15 years ago
Closed 15 years ago
Attachment save has 128 character limit on filenames
Categories
(Thunderbird :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 310925
People
(Reporter: chris, Unassigned)
Details
(Keywords: testcase)
Attachments
(1 file)
65 bytes,
text/plain
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.1) Gecko/20090715 Thunderbird/3.0b3
This is a double-edged bug:
1. Drag-and-drop a file with a file name longer than 128 characters, and the filename will be truncated to 128 characters (surprising, but potentially tolerable)
2. Right-clicking and choosing "Save As..." shows the full name of the file (from the attachment) in the filename field in the dialog, but choosing "Save" from that dialog results in the dialog disappearing and NO file being written to the disk
Reproducible: Always
Steps to Reproduce:
1. Send yourself a file with a long name (I will attach a suitable file with 130 characters plus .txt extension so you don't have to create one)
2a. Drag-and-drop the attachment somewhere
or
2b. Right-click the attachment and choose "Save As...", then try to save the file somewhere
Actual Results:
If you chose 2a above, the file is written in the correct folder with a file name that appears to be truncated to 128 character.
If you chose 2b above, no file is written.
Expected Results:
2a: file is written with full filename.
2b: file is written. Preferably with correct filename.
Notes: Fresh install of 3.0b3 on fresh install of Microsoft Windows Vista.
Active Add-Ons: AdBlock Plus (v1.1), EnigMail (v0.96a)
Inactive Add-Ons: DictionarySearch (not compatible with beta)
Truncation occurs with both encrypted/signed and non-encrypted/signed messages/attachments.
I found this out because some fool sent me an attachment with a stupidly-long file name. NTFS, FAT32, ext3, and may other FSs support 255-character filenames. Consider increasing the attachment filename limit to 255 characters? Or, is it possible to sniff the filename length limit from the file system prior to writing, and warn the user that the filename is too long?
Thanks!
Reporter | ||
Comment 1•15 years ago
|
||
Updated•15 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•