Closed Bug 269091 Opened 20 years ago Closed 20 years ago

Folded headers not shown as folded

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: mozilla, Assigned: mscott)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

Some mail systems add very long header lines, and intentionally break them apart
with "/r/n". Thunderbird doesn't seem to read these properly.

Reproducible: Always
Steps to Reproduce:
1. send mail through a system that adds "/r/n" to header lines (SpamAssassin's
X-Spam-Report header is an example)
2. Open the message in Thunderbird, and select View>Headers>All
3.

Actual Results:  
The overly long header line runs off the right side of the screen.  I have to
click the line and drag to the right to see the rest of it

Expected Results:  
"/r/n" should generate a new line in the client.
Technically speaking, headers *are* a single line; folding -- that is, adding a 
newline plus whitespace indentation -- is a hack to allow very long headers 
within the constraints of preferred (80 char) and absolute (256? 1024?) line 
lengths in mail.  That SpamAssassin chooses to abuse the hack to format its 
report lines is not Mozilla's problem.

If Mozilla did not unfold the folded headers, it would break the display for 
other headers.

That said, you can use  View|Message Source  to see the headers, including those 
by SpamAssassin, exactly as they were sent.


Incidentally, "/r/n" doesn't have the special meaning you think it does -- it's 
done with backslashes:   \n   (the \r is a bogus holdover from MS-DOS).
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Summary: Headers: /r/n doesn't create new line → Folded headers not shown as folded
right... duh.  backslashes.  sorry, i was tired.
And you know, I never even noticed view>message source.  That's actually
functional.  I probably won't even used view>headers>all anymore.

Thanks
You need to log in before you can comment on or make changes to this bug.