]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
Shared namespaces: Allow using %% in the prefix.
authorTimo Sirainen <tss@iki.fi>
Fri, 23 Jan 2009 18:12:50 +0000 (13:12 -0500)
committerTimo Sirainen <tss@iki.fi>
Fri, 23 Jan 2009 18:12:50 +0000 (13:12 -0500)
--HG--
branch : HEAD

src/lib-storage/index/shared/shared-storage.c

index c736ac94207cf9fce5080e49269a1646f75409d7..add9e80d492583bb7584a3494ae5d18e0c1c63f4 100644 (file)
@@ -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') {