Closed Bug 243885 Opened 20 years ago Closed 2 years ago

To: field contains more than one whitespace after first colon when message sent without name

Categories

(MailNews Core :: Composition, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: jubal+mozillabugs, Unassigned)

References

Details

(Keywords: privacy)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7b) Gecko/20040311
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7b) Gecko/20040311

The To: field contains more than one whitespace after the first colon, in the
specific case where a full name ("Jubal Kessler" <jubal@sendmail.com>) is *not*
included.

This seems at first like a cosmetic issue, but turns out to have ramifications
for Yahoo!'s DomainKeys anti-spam initiative, which basically creates a digital
signature based on the entire message -- including the To: field.

If Thunderbird creates a message with a To: containing more than one whitespace,
then an MTA strips the leading whitespace, the digital signature becomes invalid.

Reproducible: Always
Steps to Reproduce:
1. Enable DomainKeys signing on the MTA.
2. Use this MTA as a client relay.
3. Send mail to user@host.name without using a full name.

Actual Results:  
DomainKeys signature becomes invalid.

Expected Results:  
Thunderbird should strip the leading whitespace, preventing DomainKeys from failing.
Reproduced with TB 0.7, Moz 1.8a3-0824, Win2K
Assignee: mscott → sspitzer
Severity: normal → minor
Status: UNCONFIRMED → NEW
Component: General → Composition
Ever confirmed: true
Product: Thunderbird → MailNews
Version: unspecified → Trunk
*** Bug 246119 has been marked as a duplicate of this bug. ***
*** Bug 266057 has been marked as a duplicate of this bug. ***
Product: MailNews → Core
This bug is still present in 2.0b1, nearly 3 years after initially reported!  I found it the same way Jubal did, after some pain.  I wonder how many Thunderbird users tried playing with DK and gave up in frustration because of this stupid little bug?

same on current trunk.
within rfc822 spec, but still a privacy issue at the receiving end, no?
Assignee: sspitzer → nobody
Severity: minor → major
Keywords: privacy
QA Contact: composition
Summary: To: field contains more than one whitespace after first colon → To: field contains more than one whitespace after first colon when message sent without name
Product: Core → MailNews Core
I tested this:
1. input only an email address in the to field
2. save as draft
3. view the source of the draft

No extra whitespace after To:

Did I test it correctly?

Thunderbird 52.0.1 (32-bit)
Windows 7 64-bit

buovjaga,
Yes, thanks for testing.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.