Open Bug 262283 Opened 20 years ago Updated 2 years ago

mail reader adds two additional quotes to 'from:' field while listing emails from account

Categories

(MailNews Core :: Composition, defect)

x86
Windows 98
defect

Tracking

(Not tracked)

People

(Reporter: b.krzemien, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.2) Gecko/20040803
Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.2) Gecko/20040803

at http://oak.pl/~therix/quotes.jpg is a screenshot with a list ofthree mails.
everyone of them has brackets in sender field, which in mozilla reader can be
adjusted by configuring 'Your name:' field. but second and third field have
additional two characters - quotes - while 'Your name:' is set to 'Bartek
Krzemien (moje2)'.  both mails were send form mozilla reader, secong from 1.7.2,
and third from 1.8a4. first email, which display is correct was sent from
Outlook Express.

Reproducible: Always
Steps to Reproduce:
1. change your name to something what contains brackets, for example 'me (my mail)'
2. send email (to yourself :)
3. take a look at your mailbox

Actual Results:  
if you change your name to 'me (my mail)' mozilla will display '"me (my mail)"'

Expected Results:  
mozilla should display 'me (my mail)'
Confirming since reporter did such a thorough job investigating.
Status: UNCONFIRMED → NEW
Ever confirmed: true
xref bug 18676.

For the message that displayed without quotes (from OE), what is the actual 
From: header as seen from   View | Message Source  ?  Are the quotes included or 
not?

The quote characters are technically required in the actual header if special 
characters such as parentheses are part of the name, but obviously they don't 
*need* to be displayed.

This is not a Composition bug.
Component: Composition → Mail Window Front End
(In reply to comment #2)
> xref bug 18676.

 interesting :). at least nothing is stripped - just added :)

> For the message that displayed without quotes (from OE), what is the actual 
> From: header as seen from   View | Message Source  ?  Are the quotes included or 
> not?

from field form outlook header:
From:	"Bartek Krzemie&#324; (Actronix-light system)" <factory@actronix.pl>
and the second mail:
From:	=?ISO-8859-2?Q?=22Bartek_Krzemie=F1_=28Actronix-light_system=29?=

unfortunately i dont have third mail on this pc.

from fields are different.. sadly, i don't have enough knowledge, to tell is
this ok or not. maybe difference is because of chars in iso-8859-2?

> The quote characters are technically required in the actual header if special 
> characters such as parentheses are part of the name, but obviously they don't 
> *need* to be displayed.

i see - the quotes are in the header, but they haven't been stripped from it
before displaying.

> This is not a Composition bug.

indeed :). sorry for that - it's because of my lack in english.
(In reply to comment #3)
> from field form outlook header:
> From:	"Bartek Krzemie&#324; (Actronix-light system)" <factory@actronix.pl>

So here, Mozilla is (correctly) not showing the quotes that are part of the 
header.

> and the second mail:
> From:	=?ISO-8859-2?Q?=22Bartek_Krzemie=F1_=28Actronix-light_system=29?=

Here, Mozilla is displaying all the contents of the partially-encoded string -- 
where every byte is supposed to be displayed.  The display is correct, but the 
encoding is not -- the tagged string is *not* supposed to include quotes.  

Was that second mail composed by Mozilla?  If so, this problem is mentioned in 
bug 254519 -- when encoding a name string via an RFC 2047 "tag" like that, the 
quotes are supposed to be left out.  At any rate, I was wrong about marking this 
a Front End bug.
Component: Mail Window Front End → Composition
Product: MailNews → Core
sorry for the spam.  making bugzilla reflect reality as I'm not working on these bugs.  filter on FOOBARCHEESE to remove these in bulk.
Assignee: sspitzer → nobody
QA Contact: composition
Product: Core → MailNews Core
If you send a mail to yourself, TB now displays the sender as "Me", so this cannot be tested that way anymore.
In the headers of such a mail the sender is "'me (my mail)'".

I tried testing by changing the name in another email (a webmail) to 'me (my mail)', but apparently it strips the single quotes as I received it in the form me (my mail).

Any ideas for testing or should we just close as WONTFIX and be done with it?

Thunderbird 52.0.1 (32-bit)
Windows 7 64-bit
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.