[ews] New folder name are not trimmed before they are created, causing visual clutter - Suggested fix: Remove trailing/trailing spaces (whitespace) in folder name via trim function before creating it
Categories
(MailNews Core :: Networking: Exchange, defect)
Tracking
(Not tracked)
People
(Reporter: richard.leger, Unassigned)
References
(Blocks 2 open bugs)
Details
In TB 144.0b1 (64-bit) on Windows 11 24H2, setup with a MS365 work school account...
Step to reproduce:
- Right click Inbox > New Folder... > enter name "Test Folder 2 " (extra trailing space at the end very common for windows users to do so during copy/paste)
Actual result:
- In TB newly created folder appears as "Test My Folder 2af4fe9a7" (added "gibberish" at the end)
- In Outlook Web as "Test My Folder 2 " in Outlook Web (when trying to rename, it appears there is a space at the end but it may be removed automatically by Outlook not exactly sure)
Note: it does not seems to affect the synchronisation of the folder, but visual mismatch is confusing.
Expected result:
- In TB newly created folder appears as "Test Folder 2" in Thunderbird (folder name trimmed)
- In Outlook Web appears created as "Test Folder 2" (the same)
Suggested fix:
- Apply "Trimming space" on the folder name before creating it (e.g TRIM function something like Trim(folder_name) to remove unwanted spaces (whitespace) from the beginning (leading) and/or end (trailing) of a text string.
Comment 1•6 months ago
•
|
||
Hmm, maybe not ews specific? xref bug 1989670
Comment 2•6 months ago
|
||
Yep, after spending some time looking into it today it looks like this impacts much more than just EWS, and a proper fix looks quite involved. Trimming would be a possible workaround but not a proper fix since other cases such as folder names starting with a period remain an issue.
I'm closing this bug as a duplicate of bug 1989670 so we track work on this in a central place. Richard, I suggest you Cc yourself to it if you're interested in following its resolution.
| Reporter | ||
Updated•6 months ago
|
Description
•