Open
Bug 654977
Opened 14 years ago
Updated 8 years ago
ERROR: Attached txt-files are saved with repeated cr/lf when cr/lf split at 4096 byte blocks
Categories
(MailNews Core :: Attachments, defect)
Tracking
(Not tracked)
NEW
People
(Reporter: lbbug, Unassigned)
Details
(Keywords: testcase)
Attachments
(1 file)
|
17.32 KB,
application/octet-stream
|
Details |
User-Agent: Mozilla/5.0 (Windows NT 6.0; WOW64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
Build Identifier: Thunderbird 3.1.10 smtp-account
When attached txt-files include an cr/lf at a 4096 byte border and the
cr is the last byte of a 4096 byte block and the lf the first byte of
the following block both an additional cr/lf will be written to the
saved txtfile.
...4095 bytes + cr/lf ... become ... 4095 bytes + cr+lf+cr+lf ...
with regards
Reproducible: Always
Steps to Reproduce:
1. Generate an txtfile with 10000 byte
2. Use an hexeditor (PSPAD or something) and set byte 4096 (first byte has index 0) to 0xOD (dez 13) and byte 4097 to 0x0A (dez 10)
3. save the file
4. it has a filesize of 10002 byte
Actual Results:
The original txtfile is modified during saving the file.
The filesize increments by 2 for every cr/lf on a 4096 block border.
Expected Results:
Same filesize and absolutely no change for attached txtfiles.
| Reporter | ||
Comment 1•14 years ago
|
||
The problem occured when sending a large textfile via a pop3 mb to an outlook client with ms exchange.
Version: unspecified → 3.1
Comment 2•14 years ago
|
||
can you attach at testcase ?
Updated•14 years ago
|
Component: General → Attachments
Product: Thunderbird → MailNews Core
QA Contact: general → attachments
Version: 3.1 → Trunk
| Reporter | ||
Comment 3•14 years ago
|
||
The zip-file contains an textfile used as attachment in thunderbird
and the textfile received by outlook. The 2 files differ by 200 bytes.
409.601 bytes attached in thunderbird, 409.801 bytes received by outlook 2010.
Analyzed by hexeditor shows the doubled cr/lf in the received file.
with regards
Lutz Bodes
| Reporter | ||
Comment 4•14 years ago
|
||
A new test sending the file to my own email adress, sending and receiving
the file both using thunderbird shows the same filesize difference of 200 Byte.
It has nothing to do with outlook.
Maybe the conversion is a result of the textpreview in thunderbird.
Updated•14 years ago
|
Comment 5•10 years ago
|
||
Removing myslef on all the bugs I'm cced on. Please NI me if you need something on MailNews Core bugs from me.
You need to log in
before you can comment on or make changes to this bug.
Description
•