Mercurial > dovecot > original-hg > dovecot-1.2
changeset 26:91e73c5bb8f3 HEAD
Don't allow '\' character in mailbox name.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 25 Aug 2002 23:55:42 +0300 |
parents | 55e09f36d23d |
children | f182971ba39d |
files | src/lib-storage/index/maildir/maildir-storage.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/index/maildir/maildir-storage.c Sun Aug 25 23:50:09 2002 +0300 +++ b/src/lib-storage/index/maildir/maildir-storage.c Sun Aug 25 23:55:42 2002 +0300 @@ -68,7 +68,7 @@ static int maildir_is_valid_name(MailStorage *storage, const char *name) { return name[0] != '\0' && name[0] != storage->hierarchy_sep && - strchr(name, '/') == NULL; + strchr(name, '/') == NULL && strchr(name, '\\') == NULL; } /* create or fix maildir, ignore if it already exists */