Closed Bug 382737 Opened 17 years ago Closed 17 years ago

DOS carriage returns added to text attachment

Categories

(Thunderbird :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 161806

People

(Reporter: codystevens, Assigned: mscott)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4 Build Identifier: 2.0.0.0 When sending a text file the recipient's file will have carriage returns added to the file. Reproducible: Always Steps to Reproduce: 1. Using vi on a linux machine edit a new text file. 2. get the md5sum of the file. i.e. md5sum "filename" > mymd5sum.txt 3. Attach the file to an email using Thunderbird (send it to yourself so it is never opened on a windows machine. 4. When it arrives save it to the local machine and do an md5sum on it again. The sums will not match. 5. You can also now edit the file using vi and see that it recognizes it as a DOS file. 6. running the file command on the file also shows that it contains carriage returns. Expected Results: I expected attachments to be exactly the file I attached. I caught this when a friend sent me a shell script and it threw errors on every line. ( Because there was a \r after the newline)
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.