33 lines
871 B
Plaintext
33 lines
871 B
Plaintext
MBOX-Line: From tss at iki.fi Fri Dec 9 20:46:47 2011
|
|
To: imap-protocol@u.washington.edu
|
|
From: Timo Sirainen <tss@iki.fi>
|
|
Date: Fri Jun 8 12:34:47 2018
|
|
Subject: [Imap-protocol] LIST reply with trailing separator, once more
|
|
Message-ID: <1323492410.15365.102.camel@hurina>
|
|
|
|
I'm again cleaning up my LIST handling code and started wondering. Lets
|
|
say I have a mailbox:
|
|
|
|
a list "" s*
|
|
* LIST (\HasNoChildren) "/" "select"
|
|
a OK List completed.
|
|
|
|
Now, is it correct to reply with b) or with c)?
|
|
|
|
b list "" select/*
|
|
* LIST (\HasNoChildren) "/" "select/"
|
|
b OK List completed.
|
|
|
|
c list "" select/*
|
|
* LIST (\Noselect \HasNoChildren) "/" "select/"
|
|
c OK List completed.
|
|
|
|
I'm leaning towards c), because while "select" is a selectable mailbox,
|
|
"select/" isn't.
|
|
|
|
(Then again, I remember some clients having had some trouble with this
|
|
reply, so maybe I'll need to return b) anyway.)
|
|
|
|
|
|
|