You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Rémi Kowalski (Jira)" <se...@james.apache.org> on 2019/10/28 14:13:00 UTC

[jira] [Created] (JAMES-2936) Creating a mailbox using consecutive delimiter character leads to creation of list of unnamed mailbox

Rémi Kowalski created JAMES-2936:
------------------------------------

             Summary: Creating a mailbox using consecutive delimiter character leads to creation of list of unnamed mailbox
                 Key: JAMES-2936
                 URL: https://issues.apache.org/jira/browse/JAMES-2936
             Project: James Server
          Issue Type: Improvement
    Affects Versions: 3.4.0
            Reporter: Rémi Kowalski


creating a mailbox with consecutive `..` or one heading `.` create a list of mailbox with empty names.
for example for the mailbox `a..b` it create the mailboxes : 
- `a`
- `a.`

- `a..b` 

We will now refuse to create mailboxes with a hierarchy with empty names.
So we will reject the creation/renaming of mailbox with a name containing at least an heading delimiter character, or 2 or more consecutive delimiter character.

Note that we will still allow a trailing delimiter character which is removed during the sanitization step.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org