unify nsIMsgIncomingServer hostName casing to hostname
Categories
(MailNews Core :: Backend, defect)
Tracking
(thunderbird_esr140 wontfix, thunderbird152 wontfix)
People
(Reporter: mkmelin, Assigned: mkmelin)
References
Details
Attachments
(1 file)
https://searchfox.org/comm-central/rev/67d0cc5a0cafa09b46c42b72e70090149dd081df/mailnews/base/public/nsIMsgIncomingServer.idl#59 is using camel cased hostName.
This has caused a few bugs in a year (latest bug 1786920), and I'm sure a bunch of extra debugging work during development. It's just error prone. We should lowercase it to hostname like nsISmtpServer. The server pref is already lowercase like mail.server.server1.hostname, which further adds to this confusion.
Comment 1•4 years ago
|
||
I guess this may break some extensions.
| Assignee | ||
Comment 2•4 years ago
|
||
Probably shouldn't backport, so I would assume this is a very minor change. For compat they can even keep the old spelling and just have it forward to the new one.
Updated•3 years ago
|
| Assignee | ||
Updated•4 months ago
|
Updated•4 months ago
|
| Assignee | ||
Comment 5•3 months ago
|
||
| Assignee | ||
Updated•3 months ago
|
| Assignee | ||
Updated•3 months ago
|
Updated•3 months ago
|
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/de1a046069fa
unify nsIMsgIncomingServer hostName casing to hostname. r=tobyp
Comment 7•3 months ago
|
||
Should username be unified as well?
https://hg-edge.mozilla.org/comm-central/rev/de1a046069fa#l53.57
And a few lines down: nsAutoCString userName;
| Assignee | ||
Comment 8•3 months ago
|
||
For incoming/outgoing servers there's already no difference (both username). Sure, there's some local misspellings (and the pref name, which can't be easily change), but I don't plan to do anything for those atm as it's more or less harmless.
This bug OTOH was frequently causing problems.
Description
•