RFC2047 encoded sender address is wrong handled on right-click, compose mail to

NEW
Unassigned

Status

Thunderbird
Message Compose Window
9 years ago
4 years ago

People

(Reporter: lichtinger, Unassigned)

Tracking

(Blocks: 1 bug, {qawanted})

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

9 years ago
User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; de-de) AppleWebKit/528.16 (KHTML, like Gecko) Version/4.0 Safari/528.16
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b5pre) Gecko/20090506 Shredder/3.0b3pre

open mail with RFC2047 encoded sender address as in BUG 254519, right-click on sender address, choose "compose mail to". new mail composer window opens, two "to:" address fields are filled in, one with the part before the comma, one with the part after the comma in the sender address.

Reproducible: Always

Steps to Reproduce:
1. open mail with RFC2047 encoded sender address as in BUG 254519
2.right-click on sender address
3.choose "compose mail to"
Actual Results:  
new mail composer window opens, two "to:" address fields are filled in, one with the part before the comma, one with the part after the comma in the sender address.

Expected Results:  
new mail composer window opens, only one "to:" address field is filled in with the correct address

As reported in the comments in BUG 254519, this does not happen on windows.
It would be interesting to know whether this is a regression from Thunderbird 2.
Group: mozilla-confidential
Keywords: qawanted

Updated

9 years ago
Group: mozilla-confidential
(In reply to comment #1)

You probably can not observe this bug's phenomenon with Tb2.
  When From: is abc , def <mail-addr>, From: in header box at message pane is;
    ({ } == text-box. Context menu is displayed for each text-box)
  - Tb 2 (BUG 254519 exists)   : { abc } , { def <mail-addr> }
  - Tb 3 (BUG 254519 is fixed) : { abc , def <mail-addr> }

Logic for "Compose Mail To" seems to support multiple mail addresses, although context menu is always displayed for each mail address which is separated by ",".
I think one of next can be a solution. 
  (a) Change content of the text-box to { "abc , def" <mail-addr> }.
  (b) Always assume "single mail address" in logic for "Compose Mail To",
      and if "," is detected, quotes name part by double-quote.
Status: UNCONFIRMED → NEW
Ever confirmed: true

Updated

9 years ago
Assignee: nobody → mkmelin+mozilla
Duplicate of this bug: 501921

Comment 4

9 years ago
Hm, I can't reproduce this with ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/latest-comm-1.9.1/

If someone can, please attach a testcase (save as .eml)
Created attachment 388402 [details]
Mail folder file

Phenomenon of comment #3 still can be observed with next build. 
> Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.1pre) Gecko/20090713 Shredder/3.0b3pre
Duplicate of this bug: 543582

Comment 7

8 years ago
Thunderbird 3.0.2 does NOT fix this ugly bug :-(

This has worked in 2.x without any troubles, why does it take months to get it working again?
Blocks: 673092

Updated

7 years ago
Assignee: mkmelin+mozilla → nobody
You need to log in before you can comment on or make changes to this bug.