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 "Benoit Tellier (Jira)" <se...@james.apache.org> on 2019/10/31 09:51:00 UTC

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

    [ https://issues.apache.org/jira/browse/JAMES-2936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16963817#comment-16963817 ] 

Benoit Tellier commented on JAMES-2936:
---------------------------------------

https://github.com/linagora/james-project/pull/2790 solved this

> 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
>            Priority: Major
>
> 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