Open Bug 491832 Opened 11 years ago Updated 9 months ago

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

Categories

(Thunderbird :: Message Compose Window, defect)

x86
macOS
defect
Not set

Tracking

(Not tracked)

People

(Reporter: lichtinger, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: testcase)

Attachments

(1 file)

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
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
Assignee: nobody → mkmelin+mozilla
Duplicate of this bug: 501921
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)
Attached file 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
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?
Assignee: mkmelin+mozilla → nobody

Eckard, any chance you can test this on Mac?

Flags: needinfo?(de.berberich)
Keywords: qawantedtestcase

How do I recognize an email with RFC2047 encoded sender address ?

Flags: needinfo?(de.berberich)

Ctrl-U to view the source of the mail:

This is an example:

From: =?UTF-8?Q?Jens_M=c3=bcller?= <ich@...>

But of course that one does not contain a comma ...

OK, I found one mail in my inbox with a quoted-printable encoded From: which also contains a comma ...

Right click and "Compose message to" works as expected: Only one recipient row is filled in the compose window.

I can't find one with a comma.
I too have examples like this one

From: =?UTF-8?Q?=22B=C3=A4rbel_Hxxxxxxx=22?= <b.hxxxxxxx@gmx.net>

but there is no comma.

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