[
https://issues.apache.org/jira/browse/MAILBOX-392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17198062#comment-17198062
]
Benoit Tellier commented on MAILBOX-392:
----------------------------------------
In IMAP `&` character is escaped (UTF-7) thus there is no restriction to its
usage in mailbox names.
https://github.com/linagora/james-project/pull/3784 relaxed this constraint and
tested escaping.
> 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
> Fix For: 3.5.0
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]