Tag names should be escaped

RESOLVED INVALID

Status

Thunderbird
Mail Window Front End
RESOLVED INVALID
12 years ago
12 years ago

People

(Reporter: Scott MacGregor, Assigned: Scott MacGregor)

Tracking

x86
Windows XP

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

12 years ago
The tag service should escape tag names, and only hand out escaped tag names to callers. It should be up to the front end to unescape the tag name before showing it to the user.

Or the front end should escape them before combining tag strings that are delimited by spaces since a tag name can have a space (such as To Do).
(Assignee)

Updated

12 years ago
Status: NEW → ASSIGNED
Flags: blocking-thunderbird2+

Comment 1

12 years ago
I'm not sure I understand - tags are unicode strings. Keys, on the other hand, are imap mod-utf7 strings, and also can't contain spaces...
(Assignee)

Comment 2

12 years ago
I'm concatenating a list of tag names using spaces as the delimer and this was causing me to mess up on tags with spaces in them like "To Do". this really isn't a tag issue at all but something i was doing in the front end and something I fixed by encoding/decoding the tag names when I build up the list of tags for a message. Marking invalid.
Status: ASSIGNED → RESOLVED
Last Resolved: 12 years ago
Flags: blocking-thunderbird2+
Resolution: --- → INVALID
Target Milestone: Thunderbird2.0 → ---
You need to log in before you can comment on or make changes to this bug.