Displaying 2 results from an estimated 2 matches for "cur_prefix".
2005 Mar 15
0
empty namespace prefix doesn't honor hidden (PATCH)
diff -u -r1.44 cmd-list.c
--- src/imap/cmd-list.c 5 Feb 2005 18:07:26 -0000 1.44
+++ src/imap/cmd-list.c 15 Mar 2005 16:15:27 -0000
@@ -213,7 +213,7 @@
ctx->inbox && cur_ref == ctx->ref,
ns->sep);
if (*cur_ref != '\0' || *cur_prefix == '\0')
- match = IMAP_MATCH_CHILDREN;
+ match = ns->hidden ? IMAP_MATCH_NO :
IMAP_MATCH_CHILDREN;
else {
len = strlen(cur_prefix);
if (cur_prefix[len-1] == ns->sep)
--
Internet Connection High Quality Web Hostin...
2005 Apr 11
1
LSUB matches prefix bug?
...ot;#maildir"'?) :-
--- dovecot-1.0-stable.orig/src/imap/cmd-list.c Fri Mar 18 20:00:44 2005
+++ dovecot-1.0-stable/src/imap/cmd-list.c Mon Apr 11 18:29:33 2005
@@ -218,7 +218,7 @@
match = ns->hidden ? IMAP_MATCH_NO :
imap_match(ctx->glob, cur_prefix);
- if (match == IMAP_MATCH_YES) {
+ if ((match == IMAP_MATCH_YES) && !ctx->lsub) {
/* The prefix itself matches */
enum mailbox_flags flags;
string_t *str = t_str_new(128);
Best Wishe...