]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
LIST "" foo.% doesn't anymore reply "foo." folder.
authorTimo Sirainen <tss@iki.fi>
Thu, 20 Mar 2003 17:19:03 +0000 (19:19 +0200)
committerTimo Sirainen <tss@iki.fi>
Thu, 20 Mar 2003 17:19:03 +0000 (19:19 +0200)
--HG--
branch : HEAD

src/imap/cmd-list.c

index fc1af1abe9bb31be9a26de6a3da3f403f07762d5..6e50c1b3e68bd5c5af1a34ca00cb1a849da8a53a 100644 (file)
@@ -139,11 +139,18 @@ static void list_send(struct list_send_context *ctx, struct list_node *node,
 
                        buf = str_unescape(t_strdup_noconst(name));
                        match = imap_match(ctx->glob, buf);
-                       if (match == IMAP_MATCH_CHILDREN) {
+                       /* FIXME: IMAP spec says this should be done, but
+                          a) this is broken, we shouldn't give \NoSelect for
+                             this folder if it actually works.
+                          b) at least mozilla's subscriptions list breaks if
+                             this is sent
+                          c) cyrus and courier doesn't do this either..
+
+                          if (match == IMAP_MATCH_CHILDREN) {
                                send_name = t_strconcat(name, ctx->sep, NULL);
                                buf = str_unescape(t_strdup_noconst(send_name));
                                match = imap_match(ctx->glob, buf);
-                       }
+                       }*/
                }
 
                if (match == IMAP_MATCH_YES) {