james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Norman Maurer (JIRA)" <server-...@james.apache.org>
Subject [jira] [Resolved] (IMAP-311) A SEARCH HEADERNAME "" does not use SearchQuery.headerExist(HEADERNAME)
Date Wed, 01 Jun 2011 18:05:50 GMT

     [ https://issues.apache.org/jira/browse/IMAP-311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Norman Maurer resolved IMAP-311.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 0.3

fixed!

> A SEARCH HEADERNAME "" does not use SearchQuery.headerExist(HEADERNAME)
> -----------------------------------------------------------------------
>
>                 Key: IMAP-311
>                 URL: https://issues.apache.org/jira/browse/IMAP-311
>             Project: JAMES Imap
>          Issue Type: Bug
>            Reporter: Norman Maurer
>            Assignee: Norman Maurer
>             Fix For: 0.3
>
>
> If you issue the following command :
> A SEARCH Subject "" 
> then it try to find a Subject field which contains "". The correct thing would be to
check if a header with the name Subject exists.
> See RFC3501:
>       HEADER <field-name> <string>
>          Messages that have a header with the specified field-name (as
>          defined in [RFC-2822]) and that contains the specified string
>          in the text of the header (what comes after the colon).  If the
>          string to search is zero-length, this matches all messages that
>          have a header line with the specified field-name regardless of
>          the contents.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

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