Folder names can not contain '.' in maildirStore::isValidFolderName().
This commit is contained in:
parent
ea87f834be
commit
36f1ac2922
@ -78,7 +78,8 @@ folder* maildirStore::getFolder(const folder::path& path)
|
|||||||
const bool maildirStore::isValidFolderName(const folder::path::component& name)
|
const bool maildirStore::isValidFolderName(const folder::path::component& name)
|
||||||
{
|
{
|
||||||
return (platformDependant::getHandler()->
|
return (platformDependant::getHandler()->
|
||||||
getFileSystemFactory()->isValidPathComponent(name));
|
getFileSystemFactory()->isValidPathComponent(name) &&
|
||||||
|
name.getBuffer().find_first_of(".") == string::npos);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user