Open Bug 1588944 Opened 6 months ago Updated 4 months ago

Folder lookup service should normalise URIs

Categories

(MailNews Core :: Backend, defect)

Unspecified
All
defect
Not set

Tracking

(Not tracked)

People

(Reporter: benc, Unassigned)

References

Details

(Following on from Bug 1588391)

Folder URIs seem to be inconsistantly-encoded. And while we can tighten that up (see Bug 124287 comment 26), we'll still need to deal with the inconsistency in existing code and data (eg, virtualFolders.dat stores folder URIs).

So for now it probably makes sense for the folder lookup service to normalise all lookups,
eg:
imap:INBOX/foo bar should equate to
imap:INBOX/foo%20bar (but not to imap:INBOX%2Ffoo%20bar!).

(And once this is done, we should backout the imap-specific check added by attachment 9101200 [details] [diff] [review]).

See Also: → 1594707
OS: Unspecified → All
Version: unspecified → Trunk
You need to log in before you can comment on or make changes to this bug.