Closed Bug 1854578 Opened 1 year ago Closed 1 year ago

[imap-js] fix regexp to detect folder uris

Categories

(MailNews Core :: Networking: IMAP, defect)

defect

Tracking

(thunderbird_esr115- wontfix)

RESOLVED FIXED
119 Branch
Tracking Status
thunderbird_esr115 - wontfix

People

(Reporter: TbSync, Assigned: TbSync)

References

Details

Attachments

(1 file)

When the server address of an imap account is changed and the account is set to not download messages, the js-imap implementation is wrongly detecting message uris as folder uris here:

https://searchfox.org/comm-central/source/mailnews/imap/src/ImapChannel.jsm#52-57

An example uri is:

imap://something%40gmx%2Ede@imap.gmxinvalid.net/fetch%3EUID%3E/INBOX%3E287

This causes the fetch process to not properly reject with a connection error.

No longer depends on: 1854361
Assignee: nobody → john
Status: NEW → ASSIGNED

@freaktechnik: When you clone a bug it also copies the checkin-flag? Did not think that would happen. Thanks for catching!

Pushed by martin@humanoids.be:
https://hg.mozilla.org/comm-central/rev/06249543fc3e
Fix regexp to properly detect folder uris. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: