Multiple semicolon-separated addresses no longer work in to/cc/bcc fields, empty/null fields should be ignored (deprecated/invalid syntax Bug 242693)
Categories
(Thunderbird :: Message Compose Window, defect)
Tracking
(thunderbird_esr6869+ fixed, thunderbird70 fixed, thunderbird71 fixed)
People
(Reporter: eric.jain, Assigned: mkmelin)
References
(Blocks 1 open bug)
Details
(Keywords: regression, Whiteboard: [regression:TB31?])
Attachments
(2 files)
|
3.88 KB,
patch
|
jorgk-bmo
:
review+
jorgk-bmo
:
approval-comm-beta+
jorgk-bmo
:
approval-comm-esr68+
|
Details | Diff | Splinter Review |
|
2.38 KB,
patch
|
jorgk-bmo
:
review+
|
Details | Diff | Splinter Review |
Comment 1•11 years ago
|
||
Comment 2•11 years ago
|
||
Comment 4•11 years ago
|
||
Comment 5•11 years ago
|
||
Comment 7•9 years ago
|
||
Comment 12•9 years ago
|
||
Comment 13•9 years ago
|
||
Comment 14•8 years ago
|
||
Comment 17•7 years ago
|
||
Comment 18•7 years ago
|
||
| Assignee | ||
Comment 19•7 years ago
|
||
Comment 20•7 years ago
|
||
Comment 21•7 years ago
|
||
Comment 22•7 years ago
|
||
Comment 23•7 years ago
|
||
Comment 24•7 years ago
|
||
Comment 25•7 years ago
|
||
Comment 26•7 years ago
|
||
Comment 27•7 years ago
|
||
Comment 28•7 years ago
|
||
Comment 29•7 years ago
|
||
Comment 30•7 years ago
|
||
Comment 31•7 years ago
|
||
Comment 32•7 years ago
|
||
Comment 33•7 years ago
|
||
| deleteme | ||
Comment 34•7 years ago
|
||
Comment 35•7 years ago
|
||
Comment 36•7 years ago
|
||
Comment 37•7 years ago
|
||
Comment 38•7 years ago
|
||
Comment 39•7 years ago
|
||
Comment 40•7 years ago
|
||
Comment 41•7 years ago
|
||
Comment 42•7 years ago
|
||
Comment 43•7 years ago
|
||
Comment 44•7 years ago
|
||
Comment 45•7 years ago
|
||
Comment 46•7 years ago
|
||
Comment 47•7 years ago
|
||
Comment 48•7 years ago
|
||
Comment 49•7 years ago
|
||
Comment 50•7 years ago
|
||
Comment 51•7 years ago
|
||
Comment 52•7 years ago
|
||
Comment 53•7 years ago
|
||
Comment 54•7 years ago
|
||
Comment 55•7 years ago
|
||
Comment 56•7 years ago
|
||
Comment 57•7 years ago
|
||
| Assignee | ||
Comment 59•6 years ago
|
||
Handling semicolons, unless the input string also has preceding colon, which would be needed for a group. Not going to fix a case of possibly mixing groups and invalid syntax.
Comment 60•6 years ago
|
||
Wow, such an easy win after such a long discussion. Looking good, I'll test it later.
Comment 61•6 years ago
|
||
Magnus, I'm a bit confused by the commit message: handle semicolons as mailbox separators gracefully when pasting into composition.
You can just type it, right? It's just that many users paste like in bug 1336785. There we landed with: account for multiple commas when parsing email addresses.
So here we should do: handle semicolons as mailbox separators gracefully when when parsing email addresses.
You agree?
Comment 62•6 years ago
|
||
| Assignee | ||
Comment 63•6 years ago
|
||
Feel free free to adjust the commit message. It may not be technically limited to pasting, but that is probably where the problem arises. You basically never write many addresses on the same line when entering them manually.
I'll leave the colours for another bug. That would be somewhere different code wise.
Sent off to try now: https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=c0df27bd977b76f4fe8fb0b8dcd2659a0da4745c
Updated•6 years ago
|
Comment 64•6 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/c42051e85e3a
handle semicolons as mailbox separators gracefully when when parsing email addresses. r=jorgk
Updated•6 years ago
|
Comment 65•6 years ago
|
||
Magnus, the side-effect of this change and the one in bug 1336785 is that display names are also altered, so if I enter "a ,, b ; c" <a@b.c> I get "a , b , c" <a@b.c>. Should we change the regexp in the substitution?
| Assignee | ||
Comment 66•6 years ago
|
||
Patch in bug bug 1336785 to adjust a bit.
Comment 67•6 years ago
|
||
But you're still changing semicolons to commas in the display string, right?
Comment 68•6 years ago
|
||
Needs further consideration.
Updated•6 years ago
|
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Comment 69•6 years ago
|
||
Only replace when not within a quote.
Adapted from https://stackoverflow.com/questions/15741243/replace-string-everywhere-except-if-its-within-quotes
Comment 70•6 years ago
|
||
| Assignee | ||
Comment 71•6 years ago
|
||
I'd just put that in the commit message. It's good not to make readers overloaded with too long explanations.
Comment 72•6 years ago
|
||
But who will see this in the commit message? Can we come up with some hint in the code? I tried running it through https://regex101.com/ and even that doesn't help.
| Assignee | ||
Comment 73•6 years ago
|
||
Who is going to analyze the regexp in the first place? :)
Updated•6 years ago
|
Comment 74•6 years ago
|
||
Comment 75•6 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/c5590ab6d0c6
follow-up to only replace semicolons with commas in case the semicolons aren't within a quote. r=jorgk
Comment 76•6 years ago
|
||
TB 70 beta 1:
https://hg.mozilla.org/releases/comm-beta/rev/344b5b374a1ddaaa9a5bdf66b37b7c9ace7f0e35 (merged patch)
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Comment 77•6 years ago
|
||
Comment 78•6 years ago
|
||
I can confirm the problem is solved in Thunderbird 68.1.1.
Comment 79•6 years ago
|
||
On TB 60.9.0, the officiale tested release now rolling out the issue is still presetn ! How to solve it ?
Comment 80•6 years ago
|
||
Switch to TB 68. We're not fixing any bugs in TB 60.x any more. TB 60.9.0 was definitely the last release in that series.
Description
•