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 <firstname.lastname@example.org> 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.
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
Simply typing in (a comment) <email@example.com> is replaced with "(a comment)" <firstname.lastname@example.org> which I don't think is correct either, my understanding is that the format is "full name" <email@example.com> (comment) but it seems Mozilla thinks () should be escaped with quotes.
*** Bug 306183 has been marked as a duplicate of this bug. ***
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