Closed Bug 377370 Opened 18 years ago Closed 18 years ago

Encoded Umlauts and commata in From will result in address breakup

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
All
defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 254519

People

(Reporter: pb, Assigned: mscott)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; de; rv:1.8.0.10) Gecko/20070313 Fedora/1.5.0.10-5.fc6 Firefox/1.5.0.10
Build Identifier: Thunderbird 1.5.0.10 and 2.0b2

If encoded Umlauts and commata are used in From a very unexpected behavior occurs:

The From is not displayed well and even on reply, a second line is produced

Reproducible: Always

Steps to Reproduce:
1. Create test mail:

$ cat tmp/mail-umlaut.txt
From: =?iso-8859-1?Q?Sure=F6name=2C_Forename__Dr=2E?= <pb@bieringer.de>
To: "Peter Bieringer" <pb@bieringer.de>
Subject: Umlauttest

Testmail containing Umlaut and commata in From:
<<END

2. Send mail
$ cat tmp/mail-umlaut.txt | /usr/sbin/sendmail pb@bieringer.de

Results:
a) Main mail panel / sender column:
Is:     Sureöname
Should: Sureöname, Forename Dr.

b) Mail window / From:
Is:     Forename Dr. <pb@bieringer.de>
Should: Sureöname, Forename Dr. <pb@bieringer.de>

c) after hitting the reply button / recipients:
Is:     To: Sureöname
        To: Forename Dr. <pb@bieringer.de>
(2 entries!!!!)

Should: To: Sureöname, Forename Dr. <pb@bieringer.de>



This problem was found by receiving a valid e-mail from an Outlook client.

Note that Outlook Express and also the IMAP client of a Nokia Communicator proper displays and handle this From address (showing "..." around).
Note that 2.0.0.0rc1 the behavior changed a little bit:

a) Main mail panel / sender column:
Is:     Sureöname
Should: Sureöname, Forename Dr.

-> same like in 2.0b2 and 1.5.0.10


b) Mail window / From:
Is:     Sureöname, Forename Dr. <pb@bieringer.de>
        _________  ______________________________
(break in underlining)

Should: Sureöname, Forename Dr. <pb@bieringer.de>
        _________________________________________
(no break in underlining)

c) after hitting the reply button / recipients:
Is:     To: Peter Bieringer <pbieringer.de>
Should: To: Sureöname, Forename Dr. <pb@bieringer.de>

The reply address handling is completly broken!
BTW: also seen on platform Windows. If fixed, please backport it also to 1.5 series.
OS: Linux → All
Version: unspecified → 2.0
Flags: blocking-thunderbird2?
(In reply to comment #0)
> From: =?iso-8859-1?Q?Sure=F6name=2C_Forename__Dr=2E?= <pb@bieringer.de>
From: contains =2C (',' in Quoted printable). DUP of Bug 254519.
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Flags: blocking-thunderbird2?
You need to log in before you can comment on or make changes to this bug.