Further improvements of IMAP LIST functionality
* imap4d/list.c (list_fun): Ignore names that contain delimiter as part of their name (untranslatable names); Don't insert spurious separators. (list_ref): Make sure a pathnames are properly separated from namespace prefixes. (imap4d_list): Fix eventual use of uninitialized pfx. * imap4d/namespace.c (prefix_translate_name): Allow for NS_OTHER prefixes ending with a delimiter. (extract_username): Return NULL if prefix without trailing delimiter was used. * imap4d/tests/atlocal.in (make_config): Add more namespace prefixes. * imap4d/tests/list.at: Add more tests. * libmailutils/string/expvar.c (exp_getvar): Return MU_WRDSE_UNDEF if the variable is defined, but has NULL value.
Showing
5 changed files
with
324 additions
and
91 deletions
-
Please register or sign in to post a comment