41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
MBOX-Line: From MRC at CAC.Washington.EDU Fri Mar 30 15:19:02 2007
|
|
To: imap-protocol@u.washington.edu
|
|
From: Mark Crispin <MRC@CAC.Washington.EDU>
|
|
Date: Fri Jun 8 12:34:39 2018
|
|
Subject: [Imap-protocol] LIST response with trailing hierarchy
|
|
character
|
|
In-Reply-To: <460D8950.9000703@sun.com>
|
|
References: <460D8950.9000703@sun.com>
|
|
Message-ID: <alpine.WNT.0.98.0703301514370.5420@Tomobiki-Cho.CAC.Washington.EDU>
|
|
|
|
On Fri, 30 Mar 2007, Bill Shannon wrote:
|
|
> Is the last untagged LIST response below valid?
|
|
> A2 LIST "" "%"
|
|
>[snip]
|
|
> * LIST (\Noselect) "/" "Public Folders/"
|
|
> A2 OK LIST completed.
|
|
|
|
I would say "no".
|
|
|
|
UW imapd can return such a LIST result, but only from a pattern ending
|
|
with "/%". For example:
|
|
|
|
tag list "" barter/%
|
|
* LIST (\NoSelect) "/" barter/
|
|
* LIST (\NoInferiors \Marked) "/" barter/fred
|
|
* LIST (\NoInferiors \Marked) "/" barter/joe
|
|
* LIST (\NoInferiors \UnMarked) "/" barter/pete
|
|
tag OK LIST completed
|
|
|
|
This is because % is defined to match zero or more characters.
|
|
|
|
My guess is that the author of server that did the bad thing did empirical
|
|
testing of UW imapd and misinterpreted what s/he saw.
|
|
|
|
-- Mark --
|
|
|
|
http://staff.washington.edu/mrc
|
|
Science does not emerge from voting, party politics, or public debate.
|
|
Si vis pacem, para bellum.
|
|
|