[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-storage.c, 1.137, 1.138

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


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

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



Index: mbox-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/mbox-storage.c,v
retrieving revision 1.137
retrieving revision 1.138
diff -u -d -r1.137 -r1.138
--- mbox-storage.c	5 Feb 2006 13:03:42 -0000	1.137
+++ mbox-storage.c	15 Feb 2006 19:37:38 -0000	1.138
@@ -388,7 +388,6 @@
 
 	len = strlen(name);
 	if (name[0] == '\0' || name[len-1] == '/' ||
-	    strchr(name, '*') != NULL || strchr(name, '%') != NULL ||
 	    len > MBOX_MAX_MAILBOX_NAME_LENGTH)
 		return FALSE;
 



More information about the dovecot-cvs mailing list