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)" <ji...@apache.org> on 2019/11/13 04:12:00 UTC

[jira] [Commented] (MAILBOX-392) Strengthen Mailbox name validation upon mailbox creation

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

Benoit Tellier commented on MAILBOX-392:
----------------------------------------

See 
See https://github.com/linagora/james-project/pull/2863

> Strengthen Mailbox name validation upon mailbox creation
> --------------------------------------------------------
>
>                 Key: MAILBOX-392
>                 URL: https://issues.apache.org/jira/browse/MAILBOX-392
>             Project: James Mailbox
>          Issue Type: Improvement
>          Components: api
>            Reporter: Benoit Tellier
>            Priority: Major
>
> https://tools.ietf.org/html/rfc3501#section-5.1 states that:
> {code:java}
>    3)    Although the list-wildcard characters ("%" and "*") are valid
>          in a mailbox name, it is difficult to use such mailbox names
>          with the LIST and LSUB commands due to the conflict with
>          wildcard interpretation.
>    5)    Two characters, "#" and "&", have meanings by convention, and
>          should be avoided except when used in that convention.
> {code}
> However there requirements are not enforced by the mailbox backend.
> With JMAP we can create a mailbox containing forbidden characters leading to invalid mailbox namesfor instace containing `#`



--
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