Thunderbird splits email addresses with non-ascii characters and a comma in From: field
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mozilla Thunderbird |
Fix Released
|
Medium
|
|||
thunderbird (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When I receive mail where the sender is of the form "Lastname, Firstname" and the last name contains Finnish umlaut letters ä and ö, the sender is parsed into simply Lastname.
Example:
Järvinen, Jukka <j@j.com> is shown as:
Message window: "Järvinen" and "Jukka <j@j.com>"
Reply window: "Järvinen"
Index: "Järvinen"
Header: "From: =?iso-8859-
Affected version: 2.0.0.21 (20090409)
This happens when the mail is sent from Exchange. The only apparent difference in the From header sent from Thunderdird is that ISO-8850-1 is written in upper case.
In Mozilla Bugzilla #254519, Mcow (mcow) wrote : | #2 |
Appears to be a dupe of bug 231732 / bug 252240.
In Mozilla Bugzilla #254519, Knightr (knightr) wrote : | #3 |
I found it somewhat related to bug Bugzilla Bug #249626 (as I had mentionned
below) though it wasn't logged under the same product (in that case it was
Thunderbird) and the problem was concerning appearance of the "To:" line.
It is also similar to Bugzilla Bug 122972.
It does indeed have similarities with Bugzilla bug 231732 / bug 252240 though I
cannot say if it is for the same reason (in my case it is because of an encoded
comma (",").
There might be, indeed, a part of this bug report that could be considered a
dupe if the reasons are the same but the fact that the "From:" line, as
generated by Mozilla is not propoerly encoded is not.
Keith Moore, RFC 2047 author's comment on this was:
<<Adding quotes around the name before encoding doesn't solve the problem, and
actually causes other problems.>>
In Mozilla Bugzilla #254519, Mcow (mcow) wrote : | #4 |
I don't know what Keith Moore could mean by that. RFC2047 (section 5, item 3)
states:
+ An 'encoded-word' MUST NOT appear within a 'quoted-string'.
Quotes are required by RFC822, since without quoting, the comma is a delimiter
between addresses -- as you see. Since we cannot include the encoded-word
*within* the quoted-string, the quotes must be part of the encoded-word.
This is indeed the same issue as bug 122972 and bug 249626 (Thunderbird and the
suite share this code). Those bugs are also invalid.
Bug 231732 is unrelated.
In Mozilla Bugzilla #254519, Knightr (knightr) wrote : | #5 |
These are quotes from the emails we exchanged (used with permission):
Keith Moore says:
<<Any_ MUA that tries to "convert" something encoded in RFC 2047 to a form
without encoding is broken. There's no way to convert every 2047-encoded
message to an unencoded message with valid syntax. 2047 is only intended to be
used for _display_ purposes, not to convert messages into a form which can be
parsed by a normal mail parser.
Adding quotes around the name before encoding doesn't solve the problem, and
actually causes other problems. >>
In the next part, the questions are by me, the answer is given by him:
<<
>So in the case of the "From:" line, what should MUA authors do?
>>
>> - Convert RFC 2047 encoded messages to an unencoded message, quoting it as
>> necessary to make it look like RFC (2)822 compliant (except for the presence of
>> non-ASCII characters).
no. (or maybe, this is a last-resort option for patching legacy code where
it's infeasible to do it right)
>>
>> [otherwise it causes problem with the MUA email address parsers]
>>
>> - Convert RFC 2047 encoded messages to an unencoded message without bothering
>> about syntax for display but quoting it, as necessary, when using it to reply.
>> That quoting would actually be temporary as it would have to be removed before
>> encoding it using RFC 2047 (once again, this is to please these MUA address
>> parsers).
no.
>>
>> - Use the RFC 2047 encoded message for display but remove the RFC 2047 encoded
>> part when replying (keeping only what's between the "<" ">").
definitely not.
>>
This part is interesting:
<<
here's what should be done in MUAs:
always maintain the message in original format. the 2047-decoding routines
should be used only by the code that displays messages.
replies should be based on the unencoded message headers. that way, the
exact same 2047 encoding is used on a reply as was used on the message
being replied to.
the 2047-encoding routines should only be called from the code that handles
message composition.
message stores that do searching (as in, those that support IMAP) probably
need to do it differently. IMHO, they need to store messages in original
format but build indices based on text extracted from decoding headers
(and for that matter, body parts).
>>
His ok for quoting him:
<<
>> Do I have your permission to quote your reply when contacting the companies in
>> question?
yes.
>>
There was a small typo in what he said above so I asked for precisions:
<<
>Your reply (or at least my interpretation of it) suggests that you might
>> mean "encoded message headers" (that would be the only way to be
>> *entirely* sure that we use the exact same 2047 encoding.
yes, I meant to say "undecoded message headers".
>>
He was a very nice person to deal with:
<<
>> Sorry for taking so much of your time...
it's really no problem. I'm very familiar with this topic and I don't
have to think much about it ... and I type reasonably fast :)
Keith
>>
There seems to be a small interpretation problem of that RFC. If what I copied
above doesn't provided you with the answers you seek I can forward your question
to him...
Let me...
In Mozilla Bugzilla #254519, Mcow (mcow) wrote : | #6 |
Thanks for your insistence. I have read RFC2047 in more depth; section 6.2, in
particular the NOTE there, supports your argument.
For now, I'll leave this bug as it stands, but it's possible the encoding
portion (Mozilla should not place quotes within the encoded string) is a
separate bug from the decoding portion (Mozilla should treat encoded-words as
atoms).
In Mozilla Bugzilla #254519, Mcow (mcow) wrote : | #7 |
*** Bug 122972 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Mcow (mcow) wrote : | #8 |
*** Bug 249626 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Moore+bugzilla (moore+bugzilla) wrote : | #9 |
I agree that adding quotes to a name before encoding is a separate issue than
how an MUA handles decoding and presentation of 2047 encoded-words.
Adding quotes to a name before encoding that name using 2047 is not strictly
wrong, but it can produce annoying cruft on a recipient's display. (there are
lots of annoying things that MUAs do to people's names - this is just another
one)
On the other hand, if a sender's MUA adds double quotes before encoding it might
help to work around bugs in some recipients' MUAs that try to decode 2047
encoded-words and then parse the resulting text.
-- Keith Moore <email address hidden>
In Mozilla Bugzilla #254519, Knightr (knightr) wrote : | #10 |
I will begin by saying that I should indeed have opened two different bug
reports as, even though the issues are are related, this surely affects two very
different part of the code (I do believe that they should be corrected at the
same time however).
Mike Cowperthwaite said:
> Thanks for your insistence
No problem... I use Mozilla, I like it and I wanted it to get it right...
Keith Moore said (Hi!):
> Adding quotes to a name before encoding that name using 2047 is not strictly
> wrong, but it can produce annoying cruft on a recipient's display. (there are
> lots of annoying things that MUAs do to people's names - this is just another
> one)
>
> On the other hand, if a sender's MUA adds double quotes before encoding it
> might help to work around bugs in some recipients' MUAs that try to decode
> 2047 encoded-words and then parse the resulting text.
I hope you won't mind if I have a different opinion on this (especially after
harassing you so much... (-; or )-; ? ).
If the only reason for these quotes is to work around bugs in other MUA than I
think that they *should not* be added. If we use workarounds instead of
correcting the problem then they *will never* correct it and eventually assume
that the ones who got it right were wrong.
What I believe is (unfortunatly) the most popular MUA already got it right,
Mozilla will (eventually) get it right and other MUA are already getting it
right when they *send* their messages.
If one wants to have quote to workaround another MUA's bug then they could type
them in Mozilla's "Your name:" field.
What do you think?
Thanks!
Nick
PS: Please forgive my English as it is not my mother tongue. Thanks!
In Mozilla Bugzilla #254519, Knightr (knightr) wrote : | #11 |
That should have been MUAs and quotes...
I either neeed to augment my caffeine intake or take a few days off... (-;
In Mozilla Bugzilla #254519, Mcow (mcow) wrote : | #12 |
*** Bug 256958 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Mcow (mcow) wrote : | #13 |
*** Bug 191102 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Mcow (mcow) wrote : | #14 |
*** Bug 263976 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Mcow (mcow) wrote : | #15 |
*** Bug 264151 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Mcow (mcow) wrote : | #16 |
*** Bug 264665 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Mcow (mcow) wrote : | #17 |
*** Bug 272093 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Mozilla (mozilla) wrote : | #18 |
*** Bug 274603 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, M-wada (m-wada) wrote : | #19 |
*** Bug 274561 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, M-wada (m-wada) wrote : | #20 |
From Bug 274561.
I tested Bug 274561 case(same problem when To: header)
> To: =?iso-8859-
And problem was re-created.
Then I tested escaped "," case.
> To: =?iso-8859-
- "\"(=5C,escape char) is inserted before ","(=2C)
Although another problem occured in this test,
- Display becomes Fa. Stürtz\\, Engel
Special data was displayed(escape char in this case).
This is already reported problem.
problem of this bug was resolved.
Mozilla handled "," correctly when "," was escaped before encoding.
Sorry but I'm not familiar with Quoted Printable, so I don't know whether result
of inserting "=5C" only is valid QP or not.
And I can not say RFC 2822's spec is which, "," in atom should be escaped before
encoding, or no need to escape.
In Mozilla Bugzilla #254519, Mcow (mcow) wrote : | #21 |
*** Bug 277606 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Daniel-tietze (daniel-tietze) wrote : | #22 |
*** Bug 279088 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Christian Vogel (vogelchr) wrote : | #23 |
*** Bug 280624 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, M-wada (m-wada) wrote : | #24 |
As I said comment #20, if "," in encoded-word is escaped, Mozilla/Thunderbird
doesn't split email addresses.
(My understanding of RFC is now : "," in encoded-word needn't be escaped.)
This indicates that parsing is done after decoding of encoded-word.
I think this is the main cause of RFC violation, encoded-word is not treated as
atom.
Order of parsing and decoding of ecoded-word should be reverted.
In Mozilla Bugzilla #254519, Mcow (mcow) wrote : | #25 |
*** Bug 206491 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Bugzilla-huwig (bugzilla-huwig) wrote : | #26 |
More examples: Thunderbird Version 1.0 (20041206)
Working:
=?ISO-8859-
Not working:
"Biehl, Alexander" <email address hidden>
=?iso-8859-
<email address hidden>
In Mozilla Bugzilla #254519, Mcow (mcow) wrote : | #27 |
(In reply to comment #26)
> More examples: Thunderbird Version 1.0 (20041206)
>
> Working:
>
> =?ISO-8859-
The problem is not with embedded spaces in the encoded string, but with commas.
> Not working:
>
> "Biehl, Alexander" <email address hidden>
Testing this, it is "working" for me -- that is, replying to a from header
containing that string, the To: in the reply matches that string.
> =?iso-8859-
> <email address hidden>
This last example is basically the same as that described in the original
report.
In Mozilla Bugzilla #254519, Mcow (mcow) wrote : | #28 |
*** Bug 292603 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Mcow (mcow) wrote : | #29 |
*** Bug 292826 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Bugzilla-mcsmurf (bugzilla-mcsmurf) wrote : | #30 |
*** Bug 295379 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Bugzilla-mcsmurf (bugzilla-mcsmurf) wrote : | #31 |
*** Bug 292008 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Reinder (r-i-m) wrote : | #32 |
*** Bug 299640 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Adam Guthrie (ispiked) wrote : | #33 |
*** Bug 301136 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Tobias-mailings (tobias-mailings) wrote : | #34 |
is there any activity to this bug? I still have the same problem with the new
Thunderbird 1.5beta version...
In Mozilla Bugzilla #254519, Mcow (mcow) wrote : | #35 |
*** Bug 312977 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, aklefdal (alf-kare) wrote : | #36 |
I believed this first was a bug in Outlook 2003, and managed to report it to them (not as easy as here...). Their answer when it comes to the decoding part is that tokenization should take place before decoding. This is according to RFC 2047 section 6.2.
My own screen dumps and Microsofts internal bu report on this can be found on Mozillazine: http://
Is there anything I can do to help fix this problem? (Testing, QA, ...)
In Mozilla Bugzilla #254519, Mcow (mcow) wrote : | #37 |
*** Bug 322449 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Mcow (mcow) wrote : | #38 |
*** Bug 310547 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Mcow (mcow) wrote : | #39 |
*** Bug 319422 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Vasek-openbsd (vasek-openbsd) wrote : | #40 |
Is anyone working on the bug? I found this bug to be very anoying. Unfortunately, I'm not familiar with Mozilla internals so I can't fix it myself.
In Mozilla Bugzilla #254519, Pinus-centrum (pinus-centrum) wrote : | #41 |
I would also like to ask the developers to proceed with this bug and fix it. The comments in the thread are correct - the order of tokenization and decoding of encoded-words needs to be reversed. Encoded-words form always one word (or phrase) only, they cannot be split into several addresses after having been decoded. Section 6.2 of RFC 2047 is very clear about that.
I agree with Vaclav Rehak that this issue is very bothering. Currently, e.g. all emails from Vodafone (yes, the big mobile operator, at least in the Czech Republic) are delivered in the form mentioned in the thread, which Thunderbird recognizes incorrectly. When replying to these emails, one always has to type in the email address manually. Very annoying.
In Mozilla Bugzilla #254519, Pinus-centrum (pinus-centrum) wrote : | #42 |
Also, apart from my previous comment, I want to raise an additional one that is closely related to it. When I set my "Your name:" in "Account settings" to
Borovička, Jaroslav
i.e. I'm using iso-8859-2 charset, the header actually looks the following way:
From: =?ISO-8859-
Note the two pairs of =22 encoded characters. This are quotation mark signs added by the Thunderbird client into the header. Such a header should be properly decoded and !displayed! as
"Borovička, Jaroslav"
i.e. the recipent should see two extra quotation marks, which I have not specified as my full name ("Your name:"). In fact, many clients behave in this way, and they correctly display the quotation marks after these have been incorrectly added by Thunderbird. It is the same misunderstanding of RFC 2047 as before.
The correct way how the header should look like is
From: =?ISO-8859-
I guess that this whole error was originally not a bug, but a misunderstanding of RFC 2047. I post this comment here because I believe that these issues should be solved hand-in-hand. Again, I would like to urge the responsible person to deal with this, since more and more people are using non-ASCII characters in their full names.
In Mozilla Bugzilla #254519, Jshin1987 (jshin1987) wrote : | #43 |
To implement what follows "here's what should done by MUAs" in comment #5 (which I'm aware is what Pine does), we may have to do a rather major change. It also leads to a trouble when you send to a "not-so-smart" MUA (e.g. most of web mail services) which cannot deal with RFC2047-encoded words in charset other than that of the message body. [1] So, we might have to find other "ad-hoc" ways.
[1] Consider the following scenario
1. You receive a French email in UTF-8 with its sender's name and subject in RFC2047 with 'UTF-8' as charset
2. You reply to it while copying it to another person at hotmail.com (whose default setting is Windows-1252.) Because you know that hotmail cannot deal with UTF-8, you set 'Character Encoding' to Windows-1252
3. If we just copy RFC2047-encoded person's name and subject (with 'Re:' prepended) with charset=UTF-8 instead of decoding and reencoding it in Windows-1252, your recipient at hotmail wouldn't be able to read them.
4. Needless to say, this is hotmail's fault, but it's what we have to think about.
In Mozilla Bugzilla #254519, Reinder (r-i-m) wrote : | #44 |
(In reply to comment #43)
> 4. Needless to say, this is hotmail's fault, but it's what we have to think
> about.
In my view any e-mail client should (1) be a proper and bug-free e-mail client for POP and IMAP and (2) try to work around Hotmail peculiarities.
In Mozilla Bugzilla #254519, Knightr (knightr) wrote : | #45 |
(In reply to comment #44)
> (In reply to comment #43)
> > 4. Needless to say, this is hotmail's fault, but it's what we have to think
> > about.
>
> In my view any e-mail client should (1) be a proper and bug-free e-mail client
> for POP and IMAP and (2) try to work around Hotmail peculiarities.
>
Hi!
These same hotmail peculiarities could change over time and DO NOT conform to the standard...
I think the best thing would be to do it the right encodings but provide a way (possibly by manually editing the prefs.js or something similar) of using a more hotmail/webmail compatible encding.
There is also the possibility of warning the user when (s)he types in something which MIGHT not be properly decoded by the receiving MUA and let h(im/er) decides whether it is important to h(er/im) or not...
Have a nice day!
Nick
PS: Anybody wants to submit a bug report to hotmail? (-; or )-; ?
In Mozilla Bugzilla #254519, Jshin1987 (jshin1987) wrote : | #46 |
Guys, it's not just hotmail but most of web mail services (and MUAs) out in the wild. Anyway, I'll try to fix this bug so that you don't have to add any more "advocacy" comment here.
In Mozilla Bugzilla #254519, Knightr (knightr) wrote : | #47 |
(In reply to comment #46)
> Guys, it's not just hotmail but most of web mail services (and MUAs) out in the
> wild. Anyway, I'll try to fix this bug so that you don't have to add any more
> "advocacy" comment here.
>
Hi,
Advocacy aside, how do you propose to deal with UTF-8 characters which are not re-encodable in Windows-1252 (which is, after all, a "glorified" ISO-8859-1) in the example you posted above (comment #43)?
UTF-8 can represent a LOT more characters than Windows-
This will simply create new problems and will not solve the problems some of the people who are "subscribed" to this bug have...
If you do that kind of workaround you have to make it configurable...
Nick
PS: If you are aware of MUAs that can't deal with properly encoded headers/body, please submit them a bug report and POSSIBLY implement a workaround in the meantime...
In Mozilla Bugzilla #254519, Jshin1987 (jshin1987) wrote : | #48 |
(In reply to comment #47)
> Advocacy aside, how do you propose to deal with UTF-8 characters which are not
> re-encodable in Windows-1252 (which is, after all, a "glorified" ISO-8859-1) in
> the example you posted above (comment #43)?
Just as we do now. Replace them with question marks after giving a very conspicuous warning to users that there are characters that cannot be represented in the selected character encoding (they can choose : 'go ahead nonetheless', 'go back to the composition window and change the encoding to UTF-8').
> PS: If you are aware of MUAs that can't deal with properly encoded
> headers/body, please submit them a bug report
I did for a few of them I do occasionally use, but as for others, it's users of those MUAs that need to do that.
In Mozilla Bugzilla #254519, Pinus-centrum (pinus-centrum) wrote : | #49 |
Three months passed since the last post for this bug, and I wanted to ask whether this issue is being followed, or in the process of solving. I refer to my previous posts #41 and #42, and to the whole thread.
I strongly suggest to make Thunderbird RFC2047-compliant ASAP, long enough before version 2.0, to be able to capture all weird behavior in before 2.0-final. This concerns both receiving incoming emails correctly, as well as encoding correctly emails being sent. I understand that there is also a wide discussion about a reasonable translation of text between different charsets, but this cannot be reliably solved without compliance to RFC2047.
Please, is anybody currently dealing with this problem? If so, could you report us on the latest development? Thanks.
In Mozilla Bugzilla #254519, Mcow (mcow) wrote : | #50 |
*** Bug 336714 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Rimas Kudelis (rq) wrote : | #51 |
*** Bug 339419 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Gyuri-s3 (gyuri-s3) wrote : | #52 |
*** Bug 339970 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Mcow (mcow) wrote : | #53 |
*** Bug 342417 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Mcow (mcow) wrote : | #54 |
*** Bug 347848 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Pinus-centrum (pinus-centrum) wrote : | #55 |
OK, three more months passed, and there is again time to reiterate on this bug. From the recent contributions, it seems that the bug is indeed bothering, since it has been submitted five times in the last three months as a new bug (and marked as a duplicate). Please, is there any progress on this? Thanks.
In Mozilla Bugzilla #254519, Er-bizfob (er-bizfob) wrote : | #56 |
This bug is the only thing that stops me from switching to Thunderbird. My co-workers use Microsoft Outlook with the first and last name separated by a comma in the From: header.
Please help me and many other users by resolving this bug!
In Mozilla Bugzilla #254519, Mcow (mcow) wrote : | #57 |
*** Bug 358054 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Bugzilla-mcsmurf (bugzilla-mcsmurf) wrote : | #58 |
*** Bug 362849 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Reinder (r-i-m) wrote : | #59 |
Please give this issue some priority. Or al least provide some kind of feed-back here!!!
Fixing shouldn't be difficult - IMHO the solution is already mentioned in comment 24:
"I think this is the main cause of RFC violation, encoded-word is not treated as
atom. Order of parsing and decoding of ecoded-word should be reverted."
Comments about Hotmail causing this issue are nonsense: for me it is a daily nuisance and it occurs with all mail clients.
In Mozilla Bugzilla #254519, Ch-ey (ch-ey) wrote : | #60 |
I don't think decoding is a real problem, but parsing on compose is.
We can't simply keep encoded words, copy them around and only decode them for display. When answering we get at the same point as when composing from scratch: The user wants to add, remove, modify names and addresses. And after that step everything has to be parsed and encoded.
For this we've to deal with for example the following input:
Björnsen, Jörn <email address hidden>
Jörn Björnsen <email address hidden>
"Björnsen, Jörn" <email address hidden>
"Jörn Björnsen" <email address hidden>
Jörn "King" Björnsen <email address hidden>
It doesn't matter if this comes from a mail that is being replied to or from user input for a newly composed one.
RFC2047-encoding each of the first four display names is valid with those quotes or with them removed. Quotes in the last one should be keept and encoded in any case—and without quoting it by prepending a \.
Remark: Though the compose window offers several lines but it's not only not restricted to one address per line, the whole bunch of addresses is carried comma-separated in one single char * string through a dozend functions.
So parsing is hard and currently we fail in the first example to get that as one address. To ease that part, I'd like to put quotes around names that contain commas if we know that's just one name. Extracting
=?ISO-8859-
from a mail is such a situation.
Quotes wrapped around the name automatically as well as by the user should be removed again before 2047-encoding. As a problem I see user entered addresses like
"Jörn "God" Bjönsen" <email address hidden>
which should 2822-correctly be
"Jörn \"God\" Bjönsen"
and 2047-encoded
=?ISO-8859-
I'd like to hear some thoughts on that.
In Mozilla Bugzilla #254519, Mcow (mcow) wrote : | #61 |
(In reply to comment #60)
> I don't think decoding is a real problem
This isn't entirely the case. When a From: address has a comma in the MIME-encoded atom, you end up with the part of the address before the comma displayed in the Recipient column, and the second part displayed in the envelope panel. The fact that this problem carries over on Reply is the source of most of the dupes in this bug.
> So parsing is hard and currently we fail in the first example to get that as
> one address. To ease that part, I'd like to put quotes around names that
> contain commas if we know that's just one name. Extracting
> =?ISO-8859-
> from a mail is such a situation.
You mean, change the internal representation of the string from MIME-encoded to quoted (and also adding backslash-escaping of quotes and perhaps other special characters within the quoted string), then undoing the same before encoding on send?
I don't see a reason why that wouldn't work, and it would probably be easier to implement. I do wonder if rearchitecting so that you *do* maintain the 2047 atoms internally until display, and until initializing the edit fields in the compose window, might not be more maintainable in the long run.
In Mozilla Bugzilla #254519, Ch-ey (ch-ey) wrote : | #62 |
> This isn't entirely the case.
It currently is a problem. I wrote not a real problem because fixing that should be fairly simple, sorry.
> So parsing is hard and currently we fail in the first example to get that as
> one address. To ease that part, I'd like to put quotes around names that
> contain commas if we know that's just one name. Extracting
> =?ISO-8859-
> from a mail is such a situation.
> I do wonder if rearchitecting so that you *do* maintain the 2047 atoms
> internally until display, and until initializing the edit fields in the
> compose window, might not be more maintainable in the long run.
What I meant is, that it has to be represented as quoted in the edit fields. At which stage before it gets quoted is another question. The point is, that quoted representation can easily be displayed, read and edited by the user but a quoted-printable or even base64 can't.
I'd be happy to get rid of the whole encoding/quoting until immediately before sending. Do you think it's safe if we'd just handle everything until the angled address as the display name? That would also solve the current problem with the first example—but I fear there will be a pitfall somewhere.
In Mozilla Bugzilla #254519, Mcow (mcow) wrote : | #63 |
(In reply to comment #62)
> I'd be happy to get rid of the whole encoding/quoting until immediately
> before sending. Do you think it's safe if we'd just handle everything until
> the angled address as the display name? That would also solve the current
> problem with the first example—but I fear there will be a pitfall somewhere.
Well, it would probably take me two weeks to figure out the path these strings are taking thru the code, and another week or more to figure out how that actually works, so I'm not the one to comment on whether it's safe. Certainly within the compose window's edit fields, it should be fine to deal with each address as a Unicode string using whatever method of special-char quoting works (e.g., you might backslash-escape the comma, rather than quoting the name, if that does the trick).
The issue of not decoding atoms until you're in a situation where you *need* the Unicode representation is a different question. That may not be feasible in the current architecture, but see e.g. bug 314351. I was only suggesting that it might work out to be more maintainable if the 2047 atoms were kept, where possible -- it's quite possible the opposite would be true.
(Incidentally, if you're working on this area, you might take bug 318705 into consideration. Bug 180025 may also be affected.)
In Mozilla Bugzilla #254519, Mcow (mcow) wrote : | #64 |
*** Bug 365914 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Ch-ey (ch-ey) wrote : | #65 |
Just an intermediate report on how I see it.
Even the displaying part looks harder for me now. Decoding every header entry is already done when reading the header lines and spliting them into keyword/value pairs (see MimeHeaders_
And I'm afraid those headers (addresses) are also used in other places, so just moving the decoding behind the parsing would break other parts.
In Mozilla Bugzilla #377370, Peter Bieringer (pb-bieringer) wrote : | #66 |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.8.0.10) Gecko/20070313 Fedora/
Build Identifier: Thunderbird 1.5.0.10 and 2.0b2
If encoded Umlauts and commata are used in From a very unexpected behavior occurs:
The From is not displayed well and even on reply, a second line is produced
Reproducible: Always
Steps to Reproduce:
1. Create test mail:
$ cat tmp/mail-umlaut.txt
From: =?iso-8859-
To: "Peter Bieringer" <email address hidden>
Subject: Umlauttest
Testmail containing Umlaut and commata in From:
<<END
2. Send mail
$ cat tmp/mail-umlaut.txt | /usr/sbin/sendmail <email address hidden>
Results:
a) Main mail panel / sender column:
Is: Sureöname
Should: Sureöname, Forename Dr.
b) Mail window / From:
Is: Forename Dr. <email address hidden>
Should: Sureöname, Forename Dr. <email address hidden>
c) after hitting the reply button / recipients:
Is: To: Sureöname
To: Forename Dr. <email address hidden>
(2 entries!!!!)
Should: To: Sureöname, Forename Dr. <email address hidden>
This problem was found by receiving a valid e-mail from an Outlook client.
Note that Outlook Express and also the IMAP client of a Nokia Communicator proper displays and handle this From address (showing "..." around).
In Mozilla Bugzilla #377370, Peter Bieringer (pb-bieringer) wrote : | #67 |
Note that 2.0.0.0rc1 the behavior changed a little bit:
a) Main mail panel / sender column:
Is: Sureöname
Should: Sureöname, Forename Dr.
-> same like in 2.0b2 and 1.5.0.10
b) Mail window / From:
Is: Sureöname, Forename Dr. <email address hidden>
_________ _______
(break in underlining)
Should: Sureöname, Forename Dr. <email address hidden>
(no break in underlining)
c) after hitting the reply button / recipients:
Is: To: Peter Bieringer <pbieringer.de>
Should: To: Sureöname, Forename Dr. <email address hidden>
The reply address handling is completly broken!
In Mozilla Bugzilla #377370, Peter Bieringer (pb-bieringer) wrote : | #68 |
BTW: also seen on platform Windows. If fixed, please backport it also to 1.5 series.
In Mozilla Bugzilla #377370, M-wada (m-wada) wrote : | #69 |
(In reply to comment #0)
> From: =?iso-8859-
From: contains =2C (',' in Quoted printable). DUP of Bug 254519.
In Mozilla Bugzilla #254519, Peter Bieringer (pb-bieringer) wrote : | #70 |
I filed also a new entry: https:/
Because of 2.0.0.0rc1 acts different then 2.0beta2 (and now, the reply mail address handling is completly broken) this bug should be marked as important and as blocking for 2.0 final imho.
In Mozilla Bugzilla #254519, M-wada (m-wada) wrote : | #71 |
*** Bug 377370 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #377370, M-wada (m-wada) wrote : | #72 |
*** This bug has been marked as a duplicate of bug 254519 ***
In Mozilla Bugzilla #254519, M-wada (m-wada) wrote : | #73 |
(In reply to comment #65)
> Decoding every header entry is already done when reading the header lines
> and spliting them into keyword/value pairs
> (see MimeHeaders_
> Parsing the mail addresses is done at a very different later step.
> It's not just like swapping two function calls to get decoding of the addreses
> done after parsing them.
> And I'm afraid those headers (addresses) are also used in other places,
> so just moving the decoding behind the parsing would break other parts.
If so, as I wrote in Comment #20, "escaping of non-escaped ',' in an atom just after decoding" is a sufficient solution for this bug.
But it makes same situation as correctly escaped ',' in an atom case, then escape character of '\' just before ',' will be displayed incorrectly.
This is already existing and independent problem, and this has to be resolved at same time.
RFC 2822 defines "specials" as follows.
> specials = "(" / ")" / ; Special characters used in
> "<" / ">" / ; other parts of the syntax
> "[" / "]" /
> ":" / ";" /
> "@" / "\" /
> "," / "." /
> DQUOTE
I think other specials than ',' should be escaped also after decoding of an atom.
Christian Eyrich, what do you think?
In Mozilla Bugzilla #254519, Peter Bieringer (pb-bieringer) wrote : | #74 |
I can't believe that this problem is known since more than 2,5 years, but still not proper fixed :-(
In Mozilla Bugzilla #254519, Peter Bieringer (pb-bieringer) wrote : | #75 |
Behavior of 2.0.0.0 final is the same like 2.0.0.0rc1
Just a copy from https:/
Test this and wonder about, that this bug has still not a high priority and is still unconfirmed...
1. Create test mail:
$ cat tmp/mail-umlaut.txt
From: =?iso-8859-
To: "Peter Bieringer" <email address hidden>
Subject: Umlauttest
Testmail containing Umlaut and commata in From:
<<END
2. Send mail
$ cat tmp/mail-umlaut.txt | /usr/sbin/sendmail <email address hidden>
Results:
a) Main mail panel / sender column:
Is: Sureöname
Should: Sureöname, Forename Dr.
-> same like in 2.0b2 and 1.5.0.10
b) Mail window / From:
Is: Sureöname, Forename Dr. <email address hidden>
_________ _______
(break in underlining)
Should: Sureöname, Forename Dr. <email address hidden>
(no break in underlining)
Note that a "From" can normally never contain 2 entries
1.5.0.10:
Is: Forename Dr. <email address hidden>
Should: Sureöname, Forename Dr. <email address hidden>
So since 2.0.0.0rc1, it's partially fixed, but "," is treated as address separator.
c) after hitting the reply button / recipients:
Is: To: Peter Bieringer <pbieringer.de>
Should: To: Sureöname, Forename Dr. <email address hidden>
This is now the recipient, not the sender, completly different behavior to 1.5.0.10.
In Mozilla Bugzilla #254519, Peter Bieringer (pb-bieringer) wrote : | #76 |
There is still no reaction from any developer for the complete buggy behavior introduced in 2.0.0.0rc1 - strange, can one check whether the "Assigned To" is still valid:
Assigned To: (not reading, please use sspitzer@moz...
Currently there is also no QA contact specified, can one adjust this?
In Mozilla Bugzilla #254519, Mkmelin+mozilla (mkmelin+mozilla) wrote : | #77 |
->defaults (seth isn't doing mail bugs these days)
In Mozilla Bugzilla #254519, M-wada (m-wada) wrote : | #78 |
*** Bug 378939 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Mcow (mcow) wrote : | #79 |
(In reply to comment #71)
> There is still no reaction from any developer for the complete buggy behavior
> introduced in 2.0.0.0rc1
Do you mean (b) or (c) (or both) from comment 70? (b) looks like old behavior to me, but I could be misremembering; I don't recall (c) being a problem.
I don't see either issue in 2.0 final.
In Mozilla Bugzilla #254519, Pinus-centrum (pinus-centrum) wrote : | #80 |
(In reply to comment #74)
> I don't see either issue in 2.0 final.
I have 2.0.0.0 (20070326) Win-EN version, and I can confirm both a) and b) from comment #70 when viewing e-mails that have been stored on the local database (using POP3) with previous versions of Thunderbird.
However, when I receive a new email now with the new version of Thunderbird, everything seems to work fine.
I suspect that old emails have been already incorrectly stored in the local database. When I look at the header of an old email that causes these problems, I see:
From: =?iso-8859-
However, the headers of freshly received emails contain
From: "=?ISO-
The headers are now being stored with quoted ISO strings, and Thunderbird's behavior is correct (even when replying). However, notice that in the first case, the comma is encoded as =2C, Unfortunately, I was not able to reproduce this to check that Thunderbird behaves correctly even in cases when commas are encoded in such a way in freshly received emails. I think this should be done before marking the problem as solved, just in case.
Regarding c) from comment #70, I cannot confirm the described behavior. Using the new version of Thunderbird to reply to old emails stored with previous versions of Thunderbird still produces the same buggy behavior as described in many previous comments (not the one from comment #70). Replying to newly received emails is correct.
In Mozilla Bugzilla #254519, Peter Bieringer (pb-bieringer) wrote : | #81 |
In reply to https:/
BTW: server and client OS are Linux.
On a second system using 2.0.0.0 I still can reproduce issue b) instead of c).
On a third system (also Fedora Core 6) I can reproduce issue c)
Double checked this issue I found that after removing the complete thunderbird configuration on the third system and reenter all the settings I get behavior b). Note on the second system I started with a clean 2.0.0.0 configuration, while on the third system 2.0b2 was tested before.
In Mozilla Bugzilla #254519, Pinus-centrum (pinus-centrum) wrote : | #82 |
Adding to comment #75, when I receive an email (thanks Peter) where the comma is encoded as =2C
From: =?iso-8859-
the behavior is still buggy, exactly as described in comment #70 a) and b). However, when I reply, I do not get the behavior described in c), but the old incorrect behavior, where From field splits into two addresses:
To: Sureöname
To: Forename Dr. <email address hidden>
Thus, at least for me, it works exactly in the same buggy way as in Thunderbird 1.5.
In Mozilla Bugzilla #254519, Peter Bieringer (pb-bieringer) wrote : | #83 |
Is there any progress in this issue by developers? Most of the entries here are relating to "bug is seen and can be confirmed" and "duplicates"...
In Mozilla Bugzilla #254519, Mkmelin+mozilla (mkmelin+mozilla) wrote : | #84 |
*** Bug 385313 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Peter Bieringer (pb-bieringer) wrote : | #85 |
Is it not strange that no one cares about the bug and also it is not assigned to anyone:
Assigned To: Nobody; OK to take it and work on it
Would this mean that it is not planned to fix this bug?
In Mozilla Bugzilla #254519, Ch-ey (ch-ey) wrote : | #86 |
It's bad but not that strange given the code is deep down, quite ugly and you can damage quite a few by changing it.
But it doesn't get better if you ask each few weeks. I guess that one would be a candidate for a bounty.
In Mozilla Bugzilla #254519, Peter Bieringer (pb-bieringer) wrote : | #87 |
I've submitted a "ping", because for user's point of view only "duplicate of this bug" (inbetween > 30 times) is happen on this bug, but no developing related comment since January until https:/
I think, this issue is a major one because it can break the use of Thunderbird in companies (on Linux and Windows desktops), because users (and managers...) have problems accepting this buggy behaviour.
If there is a developer ressource problem, perhaps one of the CCs has a valid subscription for "Red Hat Enterprise Linux Desktop 5" and open a support call on Red Hat site. Afterwards I would hope that they push some ressources for fixing this problem.
In Mozilla Bugzilla #254519, Bienvenu (bienvenu) wrote : | #88 |
*** Bug 393376 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Mkmelin+mozilla (mkmelin+mozilla) wrote : | #89 |
*** Bug 396687 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Mtschrep (mtschrep) wrote : | #90 |
Per discussion in m.d.a.seamonkey minusing this for 1.9 - if it is a core bug and seamonkey or tbird need this in the 1.9 timeframe please do re-nominate.
In Mozilla Bugzilla #254519, Samuel-sieb (samuel-sieb) wrote : | #91 |
Using trunk seamonkey, I see the exact same issues as comment #77 describes.
In Mozilla Bugzilla #254519, Ivarbz (ivarbz) wrote : | #92 |
I got this message today (fixed a bit to protect the innocent)
From: =?Windows-
To: <me>
the name should be printed as
Vey, A.D.J (Diëk)
instead it is shown as two addresses :
'Vey' with email address 'Vey'
'A.D.J (Diëk)' with the email address 'Diek.Vey@
When I reply I get two To: adresses.
So it seems Thunderbird must also support fancy (non standard) code pages too.
In Mozilla Bugzilla #254519, Rimas Kudelis (rq) wrote : | #93 |
(In reply to comment #87)
> I got this message today (fixed a bit to protect the innocent)
>
> From: =?Windows-
> To: <me>
>
> the name should be printed as
> Vey, A.D.J (Diëk)
>
> instead it is shown as two addresses :
>
> 'Vey' with email address 'Vey'
> 'A.D.J (Diëk)' with the email address 'Diek.Vey@
>
> When I reply I get two To: adresses.
>
> So it seems Thunderbird must also support fancy (non standard) code pages too.
>
There's nothing fancy in here, except the use of an encoded comma character in the "From" header. Tb has decoded and then interpreted it, but it shouldn't have.
In Mozilla Bugzilla #254519, Mkmelin+mozilla (mkmelin+mozilla) wrote : | #94 |
*** Bug 418635 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Mkmelin+mozilla (mkmelin+mozilla) wrote : | #95 |
*** Bug 420849 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Mkmelin+mozilla (mkmelin+mozilla) wrote : | #96 |
*** Bug 421952 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Rod-whiteley (rod-whiteley) wrote : | #97 |
*** Bug 414538 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Rod-whiteley (rod-whiteley) wrote : | #98 |
*** Bug 428005 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, 4aeikob02 (4aeikob02) wrote : | #99 |
(In reply to comment #87)
> 'Vey' with email address 'Vey'
> 'A.D.J (Diëk)' with the email address 'Diek.Vey@
>
> When I reply I get two To: adresses.
>
> So it seems Thunderbird must also support fancy (non standard) code pages too.
Same problem with Big5 messages from Chinese business correspondence in Bug 428005.
So now I'm going to have to manually remove 6 or 7 erroneous "email addresses" from my To: box every time I hit Reply All? Great. And I suppose no one's willing to increase the severity of this bug from "normal", and it's going to sit around for several more years before anyone even starts to work on it, right?
Does anyone know of a workaround (default encoding?) or extension or anything that could fix this?
In Mozilla Bugzilla #254519, Knightr (knightr) wrote : | #100 |
Jon B,
Maybe a regex that either strips or alter the problematic addresses...
At the same time I had submitted that bug for Mozilla I had submitted a similar bug report to IBM for Lotus Notes...
I was expecting the bug in Mozilla to be fixed before the one in Lotus Notes but apparently the bug in Lotus Notes has been corrected years ago...
If anybody knows how to change the priority of this bug, please let us know...
Have a nice day!
Nick
In Mozilla Bugzilla #254519, Knightr (knightr) wrote : | #101 |
BTW, said regex would be applied on the MTA (with Postfix for example you can alter headers) or MDA (procmail?) level...
Nick
In Mozilla Bugzilla #254519, 4aeikob02 (4aeikob02) wrote : | #102 |
(In reply to comment #96)
> BTW, said regex would be applied on the MTA (with Postfix for example you can
> alter headers) or MDA (procmail?) level...
Is there no way to do it within Thunderbird itself, like a TB version of Greasemonkey?
In Mozilla Bugzilla #254519, Mkmelin+mozilla (mkmelin+mozilla) wrote : | #103 |
*** Bug 428936 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Martin-wilck (martin-wilck) wrote : | #104 |
Created an attachment (id=319890)
an attempt to fix this problem
This patch fixes handling of addresses of the form 'Spät, Karl <email address hidden>' for me. Please give it a try. The Patch is against HEAD (May 07, 2008).
Rationale:
In many parts of the MailNews sources, MIME headers containing RFC 2822 address lists are treated by decoding MIME first, then expanding address lists. This is wrong if the MIME-encoded data contains a comma (MIME encoded data should be treated as an RFC 2822 atom).
This patch changes the behavior such that MIME decoding is done last, immediately before displaying the headers, and in particular, after splitting up the address list.
Individual changes:
- nsMsgCompFields
- nsMsgDBView:
- nsMsgCompose:
- QuotingOutputSt
- QuotingOutputSt
- CreateCompositi
- MimeHeaders_
In Mozilla Bugzilla #254519, Martin-wilck (martin-wilck) wrote : | #105 |
Created an attachment (id=320002)
similar patch for MOZILLA_1_8_BRANCH
In Mozilla Bugzilla #254519, Mkmelin+mozilla (mkmelin+mozilla) wrote : | #106 |
(From update of attachment 320002)
Marking obsolete as this isn't something that ever would be approved for the branch.
In Mozilla Bugzilla #254519, Mkmelin+mozilla (mkmelin+mozilla) wrote : | #107 |
(From update of attachment 319890)
I'm not a mailnews/ reviewer, try <email address hidden> perhaps?
In Mozilla Bugzilla #254519, Rimas Kudelis (rq) wrote : | #108 |
(In reply to comment #101)
> (From update of attachment 320002 [details])
> Marking obsolete as this isn't something that ever would be approved for the
> branch.
Why not? Is Mozilla only concerned about security bugs on branch, and ignores all the others?
In Mozilla Bugzilla #254519, Roc-ocallahan (roc-ocallahan) wrote : | #109 |
Yes, that's right.
In Mozilla Bugzilla #254519, Rimas Kudelis (rq) wrote : | #110 |
Gee how I hate this attitude... :( But I can see at least some reasoning behind it, so I'll just hope that at least Tb3 is planned to be released this year then. :)
In Mozilla Bugzilla #254519, 4aeikob02 (4aeikob02) wrote : | #111 |
(In reply to comment #105)
> Gee how I hate this attitude... :( But I can see at least some reasoning behind
> it, so I'll just hope that at least Tb3 is planned to be released this year
> then. :)
This isn't going to be fixed until Thunderbird 3??
In Mozilla Bugzilla #254519, Bugzilla-flamber (bugzilla-flamber) wrote : | #112 |
No, don't expect it.
Thunderbird is close to 3.0 alpha 1 - not meaning 3.0 will be out any time soon.
It's too dangerous to include stuff like this, if it messes up anything. It might be included on trunk soon and you really need it, then try the nightlies then.
In Mozilla Bugzilla #254519, 4aeikob02 (4aeikob02) wrote : | #113 |
(In reply to comment #107)
> No, don't expect it.
>
> Thunderbird is close to 3.0 alpha 1 - not meaning 3.0 will be out any time
> soon.
When should we expect a fix for this serious bug? Do any of the patches work? Can they be implemented as extensions?
In Mozilla Bugzilla #254519, Martin-wilck (martin-wilck) wrote : | #114 |
(In reply to comment #108)
> When should we expect a fix for this serious bug? Do any of the patches work?
Both of these patches "work" for me, in the sense that they fix the "comma" problem. I have been using TB 2.0 with attachment 320002 in a production environment today, and encountered no problems. The question is if the patches cause any regressions for other people, and if they are considered clean enough by the reviewers.
If you want to help, please build Thunderbird with appropriate patch applied, and report if it works for you, or if you encounter any problems. It would be good if these patches get some testing from different people, especially people working with other charsets than me (e.g Asian), and on other platforms (I did all my testing on Linux).
> Can they be implemented as extensions?
I seriously doubt it. You need to change the format in which data is passed between different Thunderbird components. That will hardly be possible without touching core code.
Regards, Martin
In Mozilla Bugzilla #254519, Lukáš Zapletal (lzap) wrote : | #115 |
OMG this is annoying thing. Please fix it, I am getting dozens of e-mails every day that is treatened like this :-(
In Mozilla Bugzilla #254519, Ivarbz (ivarbz) wrote : | #116 |
(In reply to comment #110)
> OMG this is annoying thing. Please fix it, I am getting dozens of e-mails every
> day that is treatened like this :-(
>
As you might have noticed, the prioritisation of bugs has a rather Anglo-American bias in this matter. As you know, there is no need for punctuation and the likes.
In other words:
Would you be so kind to include this patch in the next major release ?
In Mozilla Bugzilla #254519, Dietrich-schulten (dietrich-schulten) wrote : | #117 |
(In reply to comment #107)
> It
> might be included on trunk soon and you really need it, then try the nightlies
> then.
>
I perfectly understand that this comes too late for TB2.
You say it might be included on trunk. What is necessary to make that happen as soon as possible, so we see it in TB 3?
In Mozilla Bugzilla #254519, Martin-wilck (martin-wilck) wrote : | #118 |
Created an attachment (id=320887)
Improved patch for MOZILLA_1_8_BRANCH
I have understood that there is currently no plan do accept this on the 1.8 branch. I just wanted to attach this improved patch for those who'd like to build thunderbird 2.0 with this patch. The old 1.8 patch had a problem with Quoting (the author name in "xyz wrote:" was undecoded). This patch (replacement for the previous one) fixes that behavior.
The trunk patch (attachment 319890) is unaffected by this problem.
In Mozilla Bugzilla #254519, Lukáš Zapletal (lzap) wrote : | #119 |
I vote for including this patch to trunk as soon as possible, thanks.
In Mozilla Bugzilla #254519, Martin-wilck (martin-wilck) wrote : | #120 |
My patch has been waiting for review for almost 2 months now. I don't want to press, but perhaps someone can recommend another reviewer?
In Mozilla Bugzilla #254519, Dmose (dmose) wrote : | #121 |
Martin, sorry for not getting to the review sooner. Unfortunately, since you've submitted the trunk patch, the trunk code has changed enough such that it doesn't apply, even with various patch flag massaging. I've just spent about an hour wrapping my head around a bunch (thought not yet all) of the various comments here. Unfortunately, I'm not going to finish this evening, but I'll do some more tomorrow.
If you or someone else could un-bitrot the patch, that would be fantastic. If not, I'll try and find the bandwidth to do it. In any case, I'll poke some more at this tomorrow.
In Mozilla Bugzilla #254519, Lukáš Zapletal (lzap) wrote : | #122 |
Things get moving. Great to see.
Dan, what is your assumption of having this in future stable version? 3.0 maybe?
In Mozilla Bugzilla #254519, Martin-wilck (martin-wilck) wrote : | #123 |
(In reply to comment #116)
> If you or someone else could un-bitrot the patch, that would be fantastic. If
> not, I'll try and find the bandwidth to do it. In any case, I'll poke some
> more at this tomorrow.
Sorry, I should have done that before pinging you. I'll see what I can do.
Martin
In Mozilla Bugzilla #254519, Martin-wilck (martin-wilck) wrote : | #124 |
Created an attachment (id=329874)
patch against CVS 20080716
Applies, compiles, and passes basic testing with today's code in HEAD.
As before, the rationale of this patch is to postpone RFC2047 decoding of "address list" type fields until after they are split into a real list. This prevents the misinterpretation of RFC2047-encoded special characters (most commonly, ","). With the patch, Thunderbird uses the *encoded* fields internally and does RFC2047 decoding basically just before displaying the values to the user.
This means that calls to MIME_DecodeMime
A small problem: MIME_DecodeMime
The Fixme in the code for mimehdrs.cpp means that I am not 100% sure if additional headers should also be treated this way. Currently the patch postpones RFC2047 decoding for the "to", "from", "cc", "bcc", "reply-to", and "sender" headers.
In Mozilla Bugzilla #254519, Dmose (dmose) wrote : | #125 |
lzap: Barring anything unforeseen, I'd expect 3.0 to be the first stable version that contains this fix, yes.
Martin: thanks for the updated patch. Unfortunately, today didn't quite work out the way I expected, so I hope to spend some more time on this tomorrow, and I'll try and address the concerns you've mentioned in the most recent comment.
In Mozilla Bugzilla #254519, Mkmelin+mozilla (mkmelin+mozilla) wrote : | #126 |
*** Bug 436018 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Martin-wilck (martin-wilck) wrote : | #127 |
(From update of attachment 329874)
Setting review flag for <email address hidden>, on suggestion from dmose.
I have not checked if the patch needs work to apply to current CVS.
In Mozilla Bugzilla #254519, Bienvenu (bienvenu) wrote : | #128 |
I'm trying to apply this patch (it doesn't apply right now) and I'll check it out. Thx for the patch! I'm sure I'm going to have some questions...
In Mozilla Bugzilla #254519, Bienvenu (bienvenu) wrote : | #129 |
I've tweaked the patch a little to get it to compile - ExtractHeaderAd
I can probably construct some test cases from the various comments in the bug, but if anyone has a test case mailbox file already made that they'd like to put in the bug, that would be helpful.
In Mozilla Bugzilla #254519, Bienvenu (bienvenu) wrote : | #130 |
We should add test cases to mailnews/
In Mozilla Bugzilla #254519, Bienvenu (bienvenu) wrote : | #131 |
Created an attachment (id=343484)
hg patch against trunk
this applies against the hg tip, and works with some simple tests...I'll try to add this case to the comp fields test case.
In Mozilla Bugzilla #254519, Bienvenu (bienvenu) wrote : | #132 |
Created an attachment (id=343547)
add test case
thx very much for the help fixing the test!
In Mozilla Bugzilla #254519, Vseerror (vseerror) wrote : | #133 |
in‑testsuite to be plussed when checked in
In Mozilla Bugzilla #254519, Neil-httl (neil-httl) wrote : | #134 |
I can't seem to get this to apply, has it bitrotted?
In Mozilla Bugzilla #254519, Bienvenu (bienvenu) wrote : | #135 |
wouldn't surprise me if it has bitrotted again. I'll see if I have an unbit-rotted version in a tree somewhere...
In Mozilla Bugzilla #254519, Bienvenu (bienvenu) wrote : | #136 |
Created an attachment (id=346538)
un-bittrotted patch
this should apply
In Mozilla Bugzilla #254519, Neil-httl (neil-httl) wrote : | #137 |
(From update of attachment 346538)
>+ rv = parser-
> getter_
(2×) The "old" code used to have fallback
e.g. decodedName.
>+ recipient = NS_ConvertUTF8t
(6×) These should be converted to the form
CopyUTF8toUTF16
> if (from) {
>- val = MIME_DecodeMime
>- cFields-
>- PR_FREEIF(val);
>+ cFields-
> }
>
> if (subject) {
> val = MIME_DecodeMime
> cFields-
> PR_FREEIF(val);
> }
It's confusing that some fields are decoded here and some are decoded elsewhere... is it possible to decode them all in the same place?
>+ if (!(name.
>+ name.LowerCaseE
>+ name.LowerCaseE
>+ MimeHeaders_
What does MimeHeaders_
In Mozilla Bugzilla #254519, Neil-httl (neil-httl) wrote : | #138 |
While I was waiting for the answers to my questions I thought I'd try the patch out. I didn't notice anything obviously wrong, but I did discover that if I create a card with a display name of =?utf-8?
In Mozilla Bugzilla #254519, Bienvenu (bienvenu) wrote : | #139 |
Martin, if you get a chance to answer those questions, that would be very helpful...
In Mozilla Bugzilla #254519, Martin-wilck (martin-wilck) wrote : | #140 |
(In reply to comment #132)
> (2×) The "old" code used to have fallback
> e.g. decodedName.
OK, should be easy to fix.
> (6×) These should be converted to the form
> CopyUTF8toUTF16
OK, should be easy to fix.
> It's confusing that some fields are decoded here and some are decoded
> elsewhere... is it possible to decode them all in the same place?
I agree, but I wanted to change as little as possible to fix the problem encountered. IMO all else would have strongly increased the probability of regressions. Strictly thought-through, all MIME encode/decode operations should be done in one single place. As noted in comment #99, I neeeded to change different code for the message list, message display, "reply", and "edit as new" operations. IMO, MIME-decoded header data should never be used internally, only for displaying the data to the user (immediately before putting the text in some GUI field). But that would go far beyond the bug fix that I attempted here, and had better be done by someone with a deeper understanding of the data flow between different mozilla components than me. For example, some Mozilla components may rely on parsing some header data in clear text and would fail with MIME-encoded data (I don't know if that's the case, I just wanted to minimize the risk to encounter that situation).
> What does MimeHeaders_
See comment #99. MimeHeaders_
In Mozilla Bugzilla #254519, Martin-wilck (martin-wilck) wrote : | #141 |
(In reply to comment #133)
Do you consider that a regression? Have you been able to send that email (if you assign a valid email address to the card)?
If I understand right, you have entered `=?utf-
In Mozilla Bugzilla #254519, Neil-httl (neil-httl) wrote : | #142 |
(From update of attachment 346538)
OK, sr=me with those minor code changes fixed.
I wonder how many extensions expect the data to be MIME-decoded...
In Mozilla Bugzilla #254519, Bienvenu (bienvenu) wrote : | #143 |
Martin, if you submit a new patch addressing the minor code change comments soon, I can drive it in the tree before the code freeze for beta1 (which is next week)
In Mozilla Bugzilla #254519, Lukáš Zapletal (lzap) wrote : | #144 |
The bugzilla interface is horrible. I cannot find how to uncheck me from the CC list...
In Mozilla Bugzilla #254519, Martin-wilck (martin-wilck) wrote : | #145 |
(In reply to comment #138)
Uff, that's close... I'll see what I can do.
In Mozilla Bugzilla #254519, Martin-wilck (martin-wilck) wrote : | #146 |
Created an attachment (id=348191)
patch against CVS 2008/11/14
Updated patch which addresses Neil's points.
> (2×) The "old" code used to have fallback
> e.g. decodedName.
did it using !decodedName.
> (6×) These should be converted to the form
> CopyUTF8toUTF16
I did this for nsMsgCompose.cpp, but not for mimedrft.cpp, where NS_ConvertUTF8t
The Message list display part (nsMsgDBView.cpp) got lost in attachment #343484, I re-added it. Without this, author names in the message list will still be broken.
The patch applies to today's CVS compiles and works (for me, at least).
Hope it's in time for the beta.
In Mozilla Bugzilla #254519, Mkmelin+mozilla (mkmelin+mozilla) wrote : | #147 |
This should be ready for checkin then.
lzap: click on my votes, and uncheck yourself.
In Mozilla Bugzilla #254519, Bugzilla-standard8 (bugzilla-standard8) wrote : | #148 |
Martin: this patch shouldn't be against cvs. We're no longer developing against cvs, we're developing trunk in Mercurial. The patch doesn't apply against the current Mercurial code base.
Please see https:/
In Mozilla Bugzilla #254519, Martin-wilck (martin-wilck) wrote : | #149 |
Can't you even export the changes to CVS? I see no chance to get this bug fix into the beta if I need to switch to a new VC system first.
In Mozilla Bugzilla #254519, Bienvenu (bienvenu) wrote : | #150 |
I don't think the code is available in CVS anywhere. You may be able to get a tarball of the current tree, make your changes, and diff that against the original versions of the files...
Otherwise, someone will need to fix the patch to make it apply against the trunk, which has become increasingly difficult as the code around it has changed.
thx again for working on this.
In Mozilla Bugzilla #254519, Dmose (dmose) wrote : | #151 |
Note that pulling and building a new tree from mercurial is actually fairly straightforward: see <https:/
In Mozilla Bugzilla #254519, Joseyluis (joseyluis) wrote : | #152 |
Please Martin, add your patches to new VCS.
I am very happy that this bug is resolved.
At the moment, firebird is not usable in corportations outside of United States.
When you replay a valid email generated by Outlook Firebirds, it breaks the addresses from the header if your name hasn't a ascii character (example Spanish names, it is the third world language more spoken on the world).
I know that you haven't been helped by the Firebirds developers, as they seem to ignorate anything related to Outlook or not English languages.
Please give it last work for that it is integrated.
In Mozilla Bugzilla #254519, Jo-hermans (jo-hermans) wrote : | #153 |
*** Bug 467108 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Joseyluis (joseyluis) wrote : | #154 |
I wanted to say thunderbird developers not firefox developers in my previous e-mail.
What steps needs to be done for increase the importance of this old bug from Normal to Major?
I think this old bug must be a blocker for any future release of Thunderbird. What steps do I need to do this?
At this moment a basic funcionality as the Replay/Reply is broken. If you reply a rfc-complaint e-mail composed by Outlook, that contains Names in From/To/CC with a non-ascii language, it breaks the names and the e-mail fails
By example my Full name is very usual in Spain: "Rodríguez García, José Luis", has got three accents, that aren't ASCII characters. In my company more of 50%
of times that I reply to e-mail, somebody has accent in its name.
Not giving importance to this bug only shows a childish hate to Outlook or a thinking that all world live in United States and all world must use 7-bits ASCII characterset.
At the moment tunderbird doesn't implemente one of the four basic funcionalities of a e-mail client: compose, get messages, reply and forward messages
In Mozilla Bugzilla #254519, Rimas Kudelis (rq) wrote : | #155 |
Requesting blocking-
In Mozilla Bugzilla #254519, Martin-wilck (martin-wilck) wrote : | #156 |
This bug is in principle solved. All that needs to be done is that someone takes the patch from attachment #348191 and ports it to the main branch in mercurial. I'd like to do that myself but I am not sure when I'll find a time slot for it.
In Mozilla Bugzilla #254519, Ts-phnxsoft (ts-phnxsoft) wrote : | #157 |
Then setting it to blocking-
Just to make sure the solution does make it into the release?
Please?
That bug is a continuous source of support calls for me.
In Mozilla Bugzilla #254519, Mkmelin+mozilla (mkmelin+mozilla) wrote : | #158 |
blocking‑
In Mozilla Bugzilla #254519, Mnyromyr (mnyromyr) wrote : | #159 |
Created an attachment (id=351464)
attachment 348191 ported to Hg trunk
This brings attachment 348191 to Hg trunk, plus a minor typo correction.
In Mozilla Bugzilla #254519, Neil-httl (neil-httl) wrote : | #160 |
(From update of attachment 351464)
>+ CopyUTF8toUTF16
>+ if (bcc.Length() > 0)
>+ compFields-
Could be
if (!outCString.
compFields-
[Length() is wrong either way]
In Mozilla Bugzilla #254519, Mkmelin+mozilla (mkmelin+mozilla) wrote : | #161 |
*** Bug 468064 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Sanfermines (sanfermines) wrote : | #162 |
Hello, I'm new here.
I'm using thunderbird for windows and I wonder how can I apply the solutions explained here.
Thank you very much for your help.
In Mozilla Bugzilla #254519, Bienvenu (bienvenu) wrote : | #163 |
(From update of attachment 351464)
thx very much for de-bitrotting the patch, Karsten.
I've followed Neil's suggestion about the bcc header, and removed the consequently unused local var. And thx again, Martin, for the patch.
In Mozilla Bugzilla #254519, Mkmelin+mozilla (mkmelin+mozilla) wrote : | #164 |
*** Bug 188980 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Mcow (mcow) wrote : | #165 |
(In reply to comment #0)
> When an email contains a "From:" line encoded with RFC 2047 which contains
> characters which should, per RFC (2)822, be quoted (because it contains commas
> (",") or similar characters), Mozilla doesn't decode it properly and thinks
> these are two addresses.
Verifying this has been fixed. I am seeing correct behavior in
Gecko/20081207 Shredder/3.0b2pre
(Find it here:
ftp://ftp.
)
The name is correctly shown in the Recipient column, and replying to the message constructs the name as expected in the addressing widget of the compose window -- except, the name is quoted, as in...
> The reverse is also true. It quotes an email address which contains a comma
> and then apply RFC 2047 (which it shouldn't do).
The quotes aren't necessary for the MIME encoding, but I think they may be necessary for the addressing widget to parse correctly. If you simply type a comma-separated name into the field without the quotes, the widget automatically splits it into two separate addresses. If the addition of quotes is still a problem, that should go into a new bug -- if not every dupe to this bug is about the first problem, I bet 98% of them are.
Thanks very much, Martin and David.
In Mozilla Bugzilla #254519, Lichtinger (lichtinger) wrote : | #166 |
Tested with Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b3pre) Gecko/20081207 Shredder/3.0b2pre and reply works.
But if i click on the sender in mail view and choose "compose mail to" in the dropdown menu, the address is still split into two addresses.
In Mozilla Bugzilla #254519, Bienvenu (bienvenu) wrote : | #167 |
the "clicking on the sender" issue should be a new, spin-off bug. Do you mind filing that as a thunderbird front end bug?
In Mozilla Bugzilla #254519, Lichtinger (lichtinger) wrote : | #168 |
(In reply to comment #162)
In my opinion as an end user this is the same bug.
But I don't know the code of thunderbird and therefore can't estimate in which part of thunderbird the fault is.
In Mozilla Bugzilla #254519, Vseerror (vseerror) wrote : | #169 |
This FIXED bug is flagged with in‑testsuite? It would be great if assignee or someone else can clear the flag if a test is not appropriate. And if appropriate, create a test and plus the flag to finish off the bug.
In Mozilla Bugzilla #254519, Mkmelin+mozilla (mkmelin+mozilla) wrote : | #170 |
*** Bug 490436 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Ludovic-mozillamessaging (ludovic-mozillamessaging) wrote : | #171 |
(In reply to comment #164)
> This FIXED bug is flagged with in‑testsuite? It would be great if assignee or
> someone else can clear the flag if a test is not appropriate. And if
> appropriate, create a test and plus the flag to finish off the bug.
ping ?
Ferrix Hovi (ferrix) wrote : | #172 |
When I receive mail where the sender is of the form "Lastname, Firstname" and the last name contains Finnish umlaut letters ä and ö, the sender is parsed into simply Lastname.
Example:
Järvinen, Jukka <j@j.com> is shown as:
Message window: "Järvinen" and "Jukka <j@j.com>"
Reply window: "Järvinen"
Index: "Järvinen"
Header: "From: =?iso-8859-
Affected version: 2.0.0.21 (20090409)
This happens when the mail is sent from Exchange. The only apparent difference in the From header sent from Thunderdird is that ISO-8850-1 is written in upper case.
affects: | ubuntu → evolution (Ubuntu) |
affects: | evolution (Ubuntu) → thunderbird (Ubuntu) |
Ferrix Hovi (ferrix) wrote : | #173 |
I filed the bug into upstream as well: https:/
It appears that I was wrong about the case sensitivity. Reproducing this requires only an escaped letter, a comma and no quotes.
In Mozilla Bugzilla #254519, Joshua Cranmer (jcranmer) wrote : | #174 |
*** Bug 490689 has been marked as a duplicate of this bug. ***
Changed in thunderbird (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in thunderbird: | |
status: | Unknown → Fix Released |
In Mozilla Bugzilla #254519, Oliver-schoett (oliver-schoett) wrote : | #175 |
Setting blocking‑
IIRC, bug fixes from TB were supposed to be migrated to SeaMonkey before beta, but as of 2.0a3, this has not happened yet. This bug is
(a) a blocker for enterprise use in non-English-
(cf. the number of votes, number of dupes and the bug spam
by desperate victims), also blocking‑
(b) committed to TB fairly recently (2008-12-04 to Hg-trunk), so that
it can serve as an indicator whether the bug fix migration
has actually happened
In Mozilla Bugzilla #254519, Mkmelin+mozilla (mkmelin+mozilla) wrote : | #176 |
There's no "migration" - tb and sm use the same code.
In Mozilla Bugzilla #254519, Bugzilla-standard8 (bugzilla-standard8) wrote : | #177 |
(In reply to comment #168)
> Setting blocking‑
>
> IIRC, bug fixes from TB were supposed to be migrated to SeaMonkey before beta,
> but as of 2.0a3, this has not happened yet.
All the code here is shared between TB + SM. This bug also seems to have a unit test which we know hasn't regressed. Therefore not blocking. If you think you have a specific problem in SM I suggest you file a new bug for it and it can be covered there.
In Mozilla Bugzilla #254519, Rimas Kudelis (rq) wrote : | #178 |
(In reply to comment #161)
> Tested with Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US;
> rv:1.9.1b3pre) Gecko/20081207 Shredder/3.0b2pre and reply works.
> But if i click on the sender in mail view and choose "compose mail to" in the
> dropdown menu, the address is still split into two addresses.
Just for the reference: I cannot confirm this with
Mozilla/5.0 (Windows; U; Windows NT 6.0; lt; rv:1.9.1b4pre) Gecko/20090414 Lightning/1.0pre Shredder/3.0b3pre
In Mozilla Bugzilla #254519, Bugzilla-standard8 (bugzilla-standard8) wrote : | #179 |
(In reply to comment #171)
> (In reply to comment #161)
> > Tested with Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US;
> > rv:1.9.1b3pre) Gecko/20081207 Shredder/3.0b2pre and reply works.
> > But if i click on the sender in mail view and choose "compose mail to" in the
> > dropdown menu, the address is still split into two addresses.
>
> Just for the reference: I cannot confirm this with
> Mozilla/5.0 (Windows; U; Windows NT 6.0; lt; rv:1.9.1b4pre) Gecko/20090414
> Lightning/1.0pre Shredder/3.0b3pre
Please clarify: Are you saying this bug is fixed or not?
In Mozilla Bugzilla #254519, Lichtinger (lichtinger) wrote : | #180 |
(In reply to comment #172)
> (In reply to comment #171)
> > (In reply to comment #161)
> > > Tested with Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US;
> > > rv:1.9.1b3pre) Gecko/20081207 Shredder/3.0b2pre and reply works.
> > > But if i click on the sender in mail view and choose "compose mail to" in the
> > > dropdown menu, the address is still split into two addresses.
> >
> > Just for the reference: I cannot confirm this with
> > Mozilla/5.0 (Windows; U; Windows NT 6.0; lt; rv:1.9.1b4pre) Gecko/20090414
> > Lightning/1.0pre Shredder/3.0b3pre
>
> Please clarify: Are you saying this bug is fixed or not?
Reply to an RFC2047 encoded sender is fixed.
Right-click on sender address and choosing "Compose Mail To" is still broken, the new mail has two "to:"-addresses in it.
Tested on MacOSX:
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b5pre) Gecko/20090506 Shredder/3.0b3pre
In Mozilla Bugzilla #254519, Bugzilla-standard8 (bugzilla-standard8) wrote : | #181 |
(In reply to comment #173)
> Right-click on sender address and choosing "Compose Mail To" is still broken,
> the new mail has two "to:"-addresses in it.
Ok, so please raise that in a separate bug as previously requested.
In Mozilla Bugzilla #254519, Rimas Kudelis (rq) wrote : | #182 |
(In reply to comment #172)
Yes, it works fine for me. Including the scenario described in comment #173.
Could that be OS-specific? Or maybe it has regressed between the dates?..
In Mozilla Bugzilla #254519, Lichtinger (lichtinger) wrote : | #183 |
(In reply to comment #174)
> (In reply to comment #173)
> > Right-click on sender address and choosing "Compose Mail To" is still broken,
> > the new mail has two "to:"-addresses in it.
>
> Ok, so please raise that in a separate bug as previously requested.
Ok, I raised a new bug: Bug 491832
In Mozilla Bugzilla #254519, Bienvenu (bienvenu) wrote : | #184 |
marking in testsuite +
In Mozilla Bugzilla #254519, Ludovic-mozillamessaging (ludovic-mozillamessaging) wrote : | #185 |
*** Bug 501921 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, André Heynatz (ombatar) wrote : | #186 |
Please backport this patch to Thunderbird 2.0.0.x. Thunderbird 3 is still beta, and there already has been a testing period for this patch.
Conformance to an RFC should be enough of a reason to introduce this change into the stable branch.
Thanks alot for the work on this issue, it is crucial for acceptance in corporate environments.
In Mozilla Bugzilla #254519, Ludovic-mozillamessaging (ludovic-mozillamessaging) wrote : | #187 |
(In reply to comment #179)
> Please backport this patch to Thunderbird 2.0.0.x. Thunderbird 3 is still beta,
> and there already has been a testing period for this patch.
>
3.0RC will come out next week. We just don't have the resources to backport and test for the next release of the 2.X branch.
In Mozilla Bugzilla #254519, Ulysse (ulysse) wrote : | #188 |
*** Bug 474587 has been marked as a duplicate of this bug. ***
Changed in thunderbird: | |
milestone: | none → 3.0 |
In Mozilla Bugzilla #254519, John-p-baker (john-p-baker) wrote : | #189 |
*** Bug 542194 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Carlos-garces-usa (carlos-garces-usa) wrote : | #190 |
The actual status is correct?
"VERIFIED FIXED"?
Still failing under 3.0.1
In Mozilla Bugzilla #254519, Rimas Kudelis (rq) wrote : | #191 |
(In reply to comment #183)
> The actual status is correct?
> "VERIFIED FIXED"?
> Still failing under 3.0.1
Could you attach an example message please?
In Mozilla Bugzilla #254519, Carlos-garces-usa (carlos-garces-usa) wrote : | #192 |
Hi!
Address at header:
=?iso-8859-
Thunderbird decode this as:
Lázaro, Nuria <email address hidden>
The parsing of this string fails, identify two address "Lázaro", and "Nuria
<email address hidden>"
In Mozilla Bugzilla #254519, Carlos-garces-usa (carlos-garces-usa) wrote : | #193 |
So sorry.
The computer used to test my software has a old version of Thunderbird. Updated to 3.0.1 like the other computers and works Ok, please ignore comments 183 and 185
Launchpad Janitor (janitor) wrote : | #194 |
This bug was fixed in the package thunderbird - 3.0+nobinonly-
---------------
thunderbird (3.0+nobinonly-
* New Upstream Release 3.0 (THUNDERBIRD_
- LP: #50902 - Thunderbird displays useless dialog
- LP: #52667 - Thunderbird doesn't support RFC-2369
- LP: #49033 - Doesn't recognize upper case extension (.JPG)
- LP: #56465 - Per folder column widths
- LP: #68456 - CTRL-Shift-K bound to 2 functions
- LP: #79337 - Typo in Server Information for Add Account Wizard
- LP: #1084 - No scroll on full headers list
- LP: #62071 - Middle click on scrollbar pastes instead of jumping
- LP: #119358 - Weak default authentication mode
- LP: #120672 - No option to empty junk folder with right click
- LP: #96566 - movemail doesn't work with default privs
- LP: #122529 - Non-Thunderbird IMAP folders not visible to Thunderbird
- LP: #241276 - Not able to paste image into thunderbird compose window
- LP: #244635 - scrollboxes scroll to offset 0 when resized
- LP: #259387 - "Edit Message as New" broken for eml messages
- LP: #120281 - Editing a message from the drafts folder leaves line breaks
- LP: #115484 - Dialogue boxes too large for 1024x768 resolution
- LP: #320034 - Mail with self referencing headers breaks threading
- LP: #160794 - shortcuts different in windows and linux
- LP: #280987 - thunderbird keeps asking a password when working off-line
- LP: #369150 - Thunderbird splits email addresses with non-ascii characters
- LP: #135066 - Thunderbird doesn't use Ubuntu icon theme
- LP: #297301 - after authentication error the password is forgotten
- LP: #487541 - thunderbird-bin crashed with SIGSEGV (AFS filesystem)
- LP: #485224 - Thunderbird saves double attachment file name endings on
- LP: #482496 - When using SCIM ANTHY, autosaving fails, and then get asked
[ Fabien Tassin <email address hidden> ]
* Add build-depends on autoconf2.13, autotolls-dev, mozilla-devscripts
libglib2.0-dev (>= 2.12), libstartup-
libpixman-
libhal-dev (>= 0.5.8), libasound2-dev, libreadline5-dev | libreadline-dev,
libkrb5-dev
* Update build-depends minimums for libx11-dev (>= 2:1.0),
libgtk2.0-dev (>= 2.12), zlib1g-dev (>= 1:1.2.3), libpng12-dev (>= 1.2.0),
libjpeg62-dev (>= 6b), libcairo2-dev (>= 0.5.8), libgnome2-dev (>= 2.16),
libgnomevfs
libnss3-dev (>= 3.12.0~1.9b3)
* Bump standards version to 3.8.0
* Replace ${Source-Version} by ${binary:Version} in control file
- update debian/control
* Bump requirement for system nspr to >= 4.8 since Mozilla bug 492464 landed
* Bump requirement for system nss to >= 3.12.3 since Mozilla bug 485052 landed
* Use in-source hunspell when hunspell 1.2 is not available
* Add conditionnal support for --with-libxul-sdk controlled by
$(USE_
- update debian/rules
* Add p...
Changed in thunderbird (Ubuntu): | |
status: | Triaged → Fix Released |
In Mozilla Bugzilla #254519, Vseerror (vseerror) wrote : | #195 |
*** Bug 563298 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Ulysse (ulysse) wrote : | #196 |
*** Bug 560886 has been marked as a duplicate of this bug. ***
Changed in thunderbird: | |
importance: | Unknown → Medium |
In Mozilla Bugzilla #254519, Ralf-lichtenberger (ralf-lichtenberger) wrote : | #197 |
Hi,
I'm using the (german) version 3.1.6 of Thunderbird on Windows XP.
The bug seems to be fixed when replying to a message by using the "Reply" button, the menue "Message/Reply" or the shortcut Ctrl+A.
BUUUT ....
Writing a new email with following procedure still fails:
1. Use the right mouse button at the sender's adress of a displayed email
2. Select the entry "Write email to" (resp. in German "Nachricht verfassen an")
I hope my comment helps to improve Thunderbird.
In Mozilla Bugzilla #254519, ATorre (aedelatorre) wrote : | #198 |
Just to confirm Ralf previous comment.
I have the same problem on Thunderbird 3.1.10 over Ubuntu 10.10 (64 bits).
This bug should be reopened.
In Mozilla Bugzilla #254519, Ts-phnxsoft (ts-phnxsoft) wrote : | #199 |
Problem still exists in Thunderbird 3.1.14 on openSUSE 11.4 64 bit
Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.22) Gecko/20110907 SUSE/3.1.14 Thunderbird/3.1.14
Right-clicking the "From" field of a displayed mail with the "From" header:
From: =?ISO-8859-
results in a message composition window with two recipients:
"Dr. Jörg Schröper" and "LANline <email address hidden>".
(That's the sender address of a public newsletter so I think posting the unsanitized address is ok.)
In Mozilla Bugzilla #254519, Aozilla (aozilla) wrote : | #200 |
*** Bug 444771 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #254519, Christianreischl (christianreischl) wrote : | #201 |
The problem still exists in 9.0.1 (Linux and Windows). Adresses with german umlauts like ä,ö,ü are displayed incorrectly in the main screen. In the message view
I attached a screenshot to show the issue in detail.
In Mozilla Bugzilla #254519, Christianreischl (christianreischl) wrote : | #202 |
To complete my comment:
In the message view the address is displayed correctly.
In Mozilla Bugzilla #254519, Christianreischl (christianreischl) wrote : | #203 |
Created attachment 589494
Screenshot
In Mozilla Bugzilla #254519, Standard8 (mbanner) wrote : | #204 |
(In reply to Christian Reischl from comment #193)
> The problem still exists in 9.0.1 (Linux and Windows). Adresses with german
> umlauts like ä,ö,ü are displayed incorrectly in the main screen. In the
> message view
>
> I attached a screenshot to show the issue in detail.
I think that's likely to have been fixed by bug 669925 (although a slightly different issue, the fix would probably cover this as well).
If you can reproduce this in Thunderbird 10 beta, please file a new bug for it. Thunderbird 10 Beta is available here:
http://
Also generally note that it is not a good idea to comment on fixed/resolved bugs, comments will likely get lost.
Oops, sorry, I'm a newbie... I should add a few details...
The problem is only apparent because of the issues with commas (",") but it is
believed that it might be caused by a slight interpretation problem as to how to
deal with email address which contain things which under RFC (2)822 should be
quoted but because they contain non-ASCII characters must be encoded using RFC 2047.
In that case, it is believed that quoting should not be added before encoding
the email address using RFC 2047 (which unfortunatly Mozilla does).
It also expects to see that quoting when it receives emails and if it is missing
and the "From:" line contains a comma (",") it think that the "From:" line
contains two email address (which cause problem when replying and when
displaying the list of messages (only one email adddress is shown)).
This is an example of an email address Mozilla has trouble with:
From: =?iso-8859- 1?Q?Martin= 2C_Andr= E9?= <email address hidden>
which get converted into this
From: Martin, André <email address hidden>
Due to the presence of an unquoted "," (comma) when we try to reply it thinks
we're trying to reply to two addresses...
This is what Mozilla generates when sending an email:
From: =?ISO-8859- 1?Q?=22Martin= 2C_Andr= E9=22?= <email address hidden>