MBOX-Line: From bill.shannon at sun.com  Fri Mar 30 15:04:00 2007
To: imap-protocol@u.washington.edu
From: Bill Shannon <bill.shannon@sun.com>
Date: Fri Jun  8 12:34:39 2018
Subject: [Imap-protocol] LIST response with trailing hierarchy character
Message-ID: <460D8950.9000703@sun.com>

Is the last untagged LIST response below valid?

A2 LIST "" "%"
* LIST (\HasNoChildren) "/" Drafts
* LIST (\Marked \HasChildren) "/" INBOX
* LIST (\HasNoChildren) "/" "Sent Items"
* LIST (\Noselect) "/" "Public Folders/"
A2 OK LIST completed.

The spec seems to say that "%" does *not* match hierarchy
characters, so the last response doesn't seem to match the
pattern.  Is there some subtlety in the spec that makes this
valid?

If it is valid, how should the trailing hierarchy character
be interpreted?  Does it imply that names within this folder
should be of the form "Public Folders//foo"?  Or does this
need to be handled as a special case?

Thanks.

	Bill

