comments in email address not supported

NEW
Unassigned

Status

MailNews Core
Composition
15 years ago
a month ago

People

(Reporter: Ruediger Riediger, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

15 years ago
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.0rc1) Gecko/20020418
BuildID:    2002041818

Comments as described in RFC 2822 are handled incorrectly by Mozilla.

Reproducible: Always
Steps to Reproduce:
1. type an email address containing a comment, e.g.
  a) "mscott@netscape(tm).com"
  b) "Scott <mscott@netscape(tm).com>"
2. hit send

Actual Results:  either the comment is mixed up
a) To: tm <mscott@netscape.com>
   or the alias becomes broken
b) To: Scott <""mscott\"\"@netscape.com (tm)>


Expected Results:  According to RFC 2822 (former RFC 822), comments should be
ignored and the address passed to the MTA unchanged.

Bug creates legal issues according to U.S. law since e.g. a trademark in a
company's email address cannot be protected by the (tm) comment correctly.

Comment 1

15 years ago
Confirming that it happens.

pi <3.14(or more)@piology.org> becomes
"3.14(or more)" <"3.14(or more)"@piology.org>

pi <3.14@piology(TM).org> becomes
pi <""\"\"3.14\"\"@piology(TM).org>

The law thing is a nice joke:-))

pi
Status: UNCONFIRMED → NEW
Ever confirmed: true
Product: MailNews → Core

Comment 2

13 years ago
Simply typing in
(a comment) <user@domain.com>
is replaced with
"(a comment)" <user@domain.com>
which I don't think is correct either, my understanding is that the format is
"full name" <user@domain.com> (comment)
but it seems Mozilla thinks () should be escaped with quotes.

Comment 3

12 years ago
*** Bug 306183 has been marked as a duplicate of this bug. ***

Comment 4

12 years ago
This is a problem for identities set up with comments, also.  Per the dupe:

Steps to Reproduce:
1.set e-mail for news account for example "something(TRALALALA)@something.com"
2.set your name as "Joe"
3.when you post a message on the news server, the sender is diplayed [in the 
Sender column] as "TRALALALA"
3a. the header is shown in the envelope panel as:
   TRALALALA <"something(TRALALALA)"@something.com>
which matches the actual From: header.

xref bug 121834

Updated

10 years ago
Assignee: ducarroz → nobody
QA Contact: esther → composition

Updated

10 years ago
Duplicate of this bug: 408467
(Assignee)

Updated

9 years ago
Product: Core → MailNews Core
Duplicate of this bug: 264019

Comment 7

a month ago
Still repro.

Thunderbird 52.1.1 (32-bit)
Windows 7 64-bit
You need to log in before you can comment on or make changes to this bug.