[dovecot-cvs] dovecot/src/lib-storage/index/dbox dbox-storage.c, 1.6, 1.7

cras at dovecot.org cras at dovecot.org
Wed Feb 15 21:37:36 EET 2006


Update of /var/lib/cvs/dovecot/src/lib-storage/index/dbox
In directory talvi:/tmp/cvs-serv5131/dbox

Modified Files:
	dbox-storage.c 
Log Message:
Allow creating mailbox names with '*' and '%' characters. They don't break
anything anyway.



Index: dbox-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/dbox/dbox-storage.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- dbox-storage.c	5 Feb 2006 13:03:40 -0000	1.6
+++ dbox-storage.c	15 Feb 2006 19:37:34 -0000	1.7
@@ -182,7 +182,6 @@
 
 	len = strlen(name);
 	if (name[0] == '\0' || name[len-1] == '/' ||
-	    strchr(name, '*') != NULL || strchr(name, '%') != NULL ||
 	    len > DBOX_MAX_MAILBOX_NAME_LENGTH)
 		return FALSE;
 



More information about the dovecot-cvs mailing list