james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fran├žois-Denis Gonthier (JIRA) <server-...@james.apache.org>
Subject [jira] Created: (IMAP-210) MailboxQuery ignore namespace
Date Sun, 12 Sep 2010 20:09:32 GMT
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message