MailboxQuery ignore namespace
-----------------------------

                 Key: IMAP-210
                 URL: https://issues.apache.org/jira/browse/IMAP-210
             Project: JAMES Imap
          Issue Type: Bug
         Environment: Linux, JDK 1.6
            Reporter: François-Denis Gonthier


MailboxQuery doesn't pay any attention to namespace of the mailbox it is based 
on. For example, Mozilla Thunderbird might to mailbox search with expressions 
like #private.%. That expression is passed directly to the isExpressionMatch 
method of the MailboxQuery class. This has obviously incorrect results.

Arguments to the isExpressionMatch method should be parsed to separate the 
namespace from the mailbox name or isExpressionMatch should do the parsing 
itself. In that case the argument name should be renamed to something like 
'searchExpression' instead of 'name' which doesn't convey the right meaning.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to