Closed Bug 1901926 Opened 4 months ago Closed 4 months ago

Tags mode is confused by tag with exclamation mark in it

Categories

(Thunderbird :: Folder and Message Lists, defect)

defect

Tracking

(thunderbird128 fixed)

RESOLVED FIXED
129 Branch
Tracking Status
thunderbird128 --- fixed

People

(Reporter: darktrojan, Assigned: darktrojan)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

I'm surprised I've not noticed this before, because I usually have a tag named "pink!" in my test profile.

The smart mailboxes code will go looking for a folder at mailbox://nobody@smart%20mailboxes/tags/pink! but won't find it because the actual URL ends with pink%21. Then it will try to create the folder pink! and fail because it already exists. Folder names aren't converted to URLs using normal URL encoding, everything gets encoded except the alphanumeric characters. So we have to do that too when constructing URLs for the folder pane.

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/fe8f5d042ea0
Fix folder pane tag folders for tags with special characters. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Blocks: tb128found

Comment on attachment 9406899 [details]
Bug 1901926 - Fix folder pane tag folders for tags with special characters. r=#thunderbird-reviewers

[Approval Request Comment]
Regression caused by (bug #): never worked
User impact if declined: the tags folder mode misses tags with special characters
Testing completed (on c-c, etc.):
Risk to taking this patch (and alternatives if risky):

Attachment #9406899 - Flags: approval-comm-beta?

Comment on attachment 9406899 [details]
Bug 1901926 - Fix folder pane tag folders for tags with special characters. r=#thunderbird-reviewers

[Triage Comment]
Approved for beta

Geoff, In the future I'd like to see all topics filled in for the approval request comment. I appreciate the tests you included in your commit! (Hopefully my exclamation point doesn't break anything here ;)

Attachment #9406899 - Flags: approval-comm-beta? → approval-comm-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: