dovecot-2.2: doveadm mailbox metadata: The keys must always be l...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Apr 16 11:21:19 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/0f4b010b78b6
changeset: 18407:0f4b010b78b6
user: Timo Sirainen <tss at iki.fi>
date: Thu Apr 16 14:19:51 2015 +0300
description:
doveadm mailbox metadata: The keys must always be lowercased.
The keys need to be case-insensitive in IMAP, so the IMAP code always also
lowercases them.
diffstat:
src/doveadm/doveadm-mail-mailbox-metadata.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 736730cf45f0 -r 0f4b010b78b6 src/doveadm/doveadm-mail-mailbox-metadata.c
--- a/src/doveadm/doveadm-mail-mailbox-metadata.c Thu Apr 16 12:59:05 2015 +0300
+++ b/src/doveadm/doveadm-mail-mailbox-metadata.c Thu Apr 16 14:19:51 2015 +0300
@@ -78,6 +78,7 @@
i_fatal_status(EX_USAGE, "Invalid metadata key '%s': "
"Must begin with /private or /shared", arg);
}
+ *key_r = t_str_lcase(*key_r);
}
static void
More information about the dovecot-cvs
mailing list