[Akonadi] [Bug 313159] New: Akonadi/IMAP does not conform to RFC 5464 (IMAP METADATA)

Dennis Schridde devurandom at gmx.net
Sun Jan 13 00:59:17 GMT 2013


https://bugs.kde.org/show_bug.cgi?id=313159

            Bug ID: 313159
           Summary: Akonadi/IMAP does not conform to RFC 5464 (IMAP
                    METADATA)
    Classification: Unclassified
           Product: Akonadi
           Version: 1.9.0
          Hardware: Gentoo Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: IMAP resource
          Assignee: ervin at kde.org
          Reporter: devurandom at gmx.net
                CC: kdepim-bugs at kde.org, vkrause at kde.org

The IMAP server is dovecot-2.1.12 with my dovecot-metadata-9 plugin. I wrote
the plugin to check the input rather strictly, which is why it reports a
problem with Akonadi/IMAP's conformance to the IMAP METADATA RFC 5464.

>From the KIMAP_LOGFILE:
C: A001351 GETMETADATA "INBOX/live" "*"
S: A001351 BAD Error in IMAP command GETMETADATA: Wildcards in entry name '*'
not allowed. ( RFC 5464 Section 3.2 )

Section 3.2 explicitly forbids this:
Entry names MUST NOT contain asterisk ("*") or percent ("%") characters

Now you might argue that this only applies to the entry names the server
stores, but not to requests by the client. However, Section 4.2 neither allows
nor describes the use of the wildcard characters.

You probably want to use the DEPTH argument to GETMETADATA (Section 4.2.2)
instead of a wildcard character.

Reproducible: Always

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the Kdepim-bugs mailing list