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 "Quynh Nguyen (JIRA)" <se...@james.apache.org> on 2017/11/22 07:53:01 UTC

[jira] [Created] (JAMES-2229) [IMAP] Mailbox name validation

Quynh Nguyen created JAMES-2229:
-----------------------------------

             Summary: [IMAP] Mailbox name validation
                 Key: JAMES-2229
                 URL: https://issues.apache.org/jira/browse/JAMES-2229
             Project: James Server
          Issue Type: Bug
            Reporter: Quynh Nguyen


We should disallow empty mailbox name parts.

As stated in RFC-3501 :

> mailbox         = "INBOX" / astring
> astring         = 1*ASTRING-CHAR / string
and string is non empty (nstring is used for empty), so it means that the case of double delimiter is not valid

We should forbid the use of invalid mailbox name.

Note: CREATE allow mailbox name ending  by the separator, but it should be removed. This case should remain valid.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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