Displaying 1 result from an estimated 1 matches for "mail_storage_flag_allow_tild".
Did you mean:
mail_storage_flag_allow_tilde
2007 Jul 25
2
Allowing tilde at start of mailbox names
...43 2007 +0100
@@ -240,7 +240,9 @@ static bool maildir_is_valid_create_name
if ((storage->flags & MAIL_STORAGE_FLAG_FULL_FS_ACCESS) != 0)
return TRUE;
- if (*name == '~' || strchr(name, '/') != NULL)
+ if ((*name == '~' &&
+ (storage->flags & MAIL_STORAGE_FLAG_ALLOW_TILDE) == 0) ||
+ strchr(name, '/') != NULL)
return FALSE;
if (name[0] == '.' && (name[1] == '\0' ||
@@ -264,7 +266,9 @@ static bool maildir_is_valid_existing_na
if ((storage->flags & MAIL_STORAGE_FLAG_FULL_FS_ACCESS) != 0)
return TRUE;
- if (*na...