Beginning on October 25th, 2016, Persona will no longer be an option for authentication on BMO. For more details see Persona Deprecated.
Last Comment Bug 147346 - comments in email address not supported
: comments in email address not supported
Status: NEW
Product: MailNews Core
Classification: Components
Component: Composition (show other bugs)
: Trunk
: All All
: -- normal with 4 votes (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
: 264019 306183 408467 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2002-05-27 04:59 PDT by Ruediger Riediger
Modified: 2008-12-18 14:40 PST (History)
7 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---


Description Ruediger Riediger 2002-05-27 04:59:28 PDT
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 <>
   or the alias becomes broken
b) To: Scott <""mscott\"\" (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 Boris 'pi' Piwinger 2002-05-27 06:23:27 PDT
Confirming that it happens.

pi <3.14(or more)> becomes
"3.14(or more)" <"3.14(or more)">

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

The law thing is a nice joke:-))

Comment 2 Ric Gates 2005-01-04 22:30:46 PST
Simply typing in
(a comment) <>
is replaced with
"(a comment)" <>
which I don't think is correct either, my understanding is that the format is
"full name" <> (comment)
but it seems Mozilla thinks () should be escaped with quotes.
Comment 3 Mike Cowperthwaite 2005-09-01 10:15:34 PDT
*** Bug 306183 has been marked as a duplicate of this bug. ***
Comment 4 Mike Cowperthwaite 2005-09-01 10:21:20 PDT
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)"
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)">
which matches the actual From: header.

xref bug 121834
Comment 5 Magnus Melin 2007-12-15 08:40:10 PST
*** Bug 408467 has been marked as a duplicate of this bug. ***
Comment 6 Joshua Cranmer [:jcranmer] 2008-12-18 14:40:40 PST
*** Bug 264019 has been marked as a duplicate of this bug. ***

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