Fix three problems in completion of IMAP mailbox names and listing of
authorTaylor R. Campbell <net/mumble/campbell>
Thu, 5 Apr 2007 03:23:22 +0000 (03:23 +0000)
committerTaylor R. Campbell <net/mumble/campbell>
Thu, 5 Apr 2007 03:23:22 +0000 (03:23 +0000)
commite916396be90103edb274b85f5e006ca42305b6f8
treed7ef436aecb8823af5d8e5cfcd1da12fd09fbd89
parent83fb48ce3c7859585ee9f4a1488ddb4789a53ce6
Fix three problems in completion of IMAP mailbox names and listing of
the contents of IMAP containers:

1. Some IMAP servers refuse a pattern of `/%' for the LIST command, or
   yield an empty list of results, so send `%' if we're examining the
   root mailbox.

2. Some IMAP servers return the container itself that we're trying to
   list the contents of, so filter that out if we see it.

3. Some IMAP servers hand out folder URLs and container URLs, so
   canonicalize them appropriately in order that RUN-LIST-COMMAND may
   return only folder URLs.
v7/src/imail/imail-imap.scm