Folder names can not contain '.' in maildirStore::isValidFolderName().

This commit is contained in:
Vincent Richard 2004-12-17 16:23:40 +00:00
parent ea87f834be
commit 36f1ac2922

View File

@ -78,7 +78,8 @@ folder* maildirStore::getFolder(const folder::path& path)
const bool maildirStore::isValidFolderName(const folder::path::component& name)
{
return (platformDependant::getHandler()->
getFileSystemFactory()->isValidPathComponent(name));
getFileSystemFactory()->isValidPathComponent(name) &&
name.getBuffer().find_first_of(".") == string::npos);
}