Cannot subscribe to mailboxes with a > (greater then) sign through IMAP

NEW
Unassigned

Status

MailNews Core
Networking: IMAP
--
major
8 years ago
2 years ago

People

(Reporter: Sven Kirmess, Unassigned)

Tracking

(Depends on: 1 bug, Blocks: 1 bug)

1.9.2 Branch
x86
Windows Vista
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [waiting on bug 538942])

(Reporter)

Description

8 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1

You cannot subscribe to (or create) folders with a > (greater then) sign through IMAP. I've verified this bug with the dovecot 2 server and with gmail IMAP access.

If you try to subscribe to the mailbox <test> you get the error message that the server could not find the mailbox "<test". It looks like the > sign is not correctly escaped and somehow interpreted as part of an IMAP command.

If you try to subscribe to <test>test you also get the error message that mailbox "<test" does not exist.

Reproducible: Always

Steps to Reproduce:
1. Create a folder called <test> with another IMAP client.
2. Try to subscribe to this folder with Thunderbird.

Actual Results:  
not subscribed to the folder

Expected Results:  
subscribed to the folder
(Reporter)

Updated

8 years ago
Version: unspecified → 3.1
Can you provide an imap log of this when you try ? (see https://wiki.mozilla.org/MailNews:Logging )
Blocks: 160644
Component: Folder and Message Lists → Networking: IMAP
Product: Thunderbird → MailNews Core
QA Contact: folders-message-lists → networking.imap
Version: 3.1 → 1.9.2 Branch

Comment 2

8 years ago
This is a dup of a very old bug, I believe.
Whiteboard: dupeme
The very old bug is probably bug 23789(we duped to bug 538942).
Blocks: 124287
Bug 538942 is problem upon SELECT after next to XLIST(other mailer subscribed).
> * XLIST (\Noselect \HasChildren) "/" "<script>alert('XSS')<"
Setting dependency instead of duping, to keep SUBSCRIBE case, although basically dup.
No longer blocks: 160644
Severity: normal → major
Depends on: 538942

Updated

6 years ago
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: dupeme → [waiting on bug 538942]
You need to log in before you can comment on or make changes to this bug.