From: Timo Sirainen Date: Fri, 23 Jan 2009 18:12:50 +0000 (-0500) Subject: Shared namespaces: Allow using %% in the prefix. X-Git-Tag: 1.2.beta1~66 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=33a9c31657771606be5942b55f5f91a5606b2199;p=thirdparty%2Fdovecot%2Fcore.git Shared namespaces: Allow using %% in the prefix. --HG-- branch : HEAD --- diff --git a/src/lib-storage/index/shared/shared-storage.c b/src/lib-storage/index/shared/shared-storage.c index c736ac9420..add9e80d49 100644 --- a/src/lib-storage/index/shared/shared-storage.c +++ b/src/lib-storage/index/shared/shared-storage.c @@ -79,7 +79,7 @@ static int shared_create(struct mail_storage *_storage, const char *data, break; if (*p == 'u' || *p == 'n') have_username = TRUE; - else if (*p != 'd') + else if (*p != '%' && *p != 'd') break; } if (*p != '\0') {