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:11:00 UTC

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

Benoit Tellier created MAILBOX-392:
--------------------------------------

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


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