Closed Bug 344654 Opened 18 years ago Closed 17 years ago

sending one-line xml files as attachments gives !

Categories

(Thunderbird :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 237118

People

(Reporter: jdijkstra, Assigned: mscott)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4
Build Identifier: Thunderbird version 1.0.7 (20050923)

When sending an xml file that has no line ends, the receiver gets that same file, but with line ends and exclamation marks (!) at the end of the lines, which causes the xml to be invalid.

Reproducible: Always

Steps to Reproduce:
1. output an xml file without whitespace
2. attach the file
3. send
4. receive
5. open the attached file

Actual Results:  
the received xml file has exclamation marks and line ends inserted

Expected Results:  
the received xml file should have been the same as the sent one
Single lines of text longer than 1000 (or so) characters are not valid for mail transmission.  The benevolent SMTP server will break the line and put a ! to indicate the break.  (Bad SMTP servers will simply truncate the line.)  This isn't a TB problem.

However, TB *could* detect very long lines in the attachment and re-encode it using quoted-printable, which would solve this problem.

See bug 169395.
(In reply to comment #1)
> However, TB *could* detect very long lines in the attachment and re-encode it
> using quoted-printable, which would solve this problem.

Actually, this has been done for a while.  Fix will be in TB 2.0.
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.