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 "Joachim Draeger (JIRA)" <se...@james.apache.org> on 2006/10/20 14:21:36 UTC
[jira] Commented: (JAMES-664) Improve fetch command parsing to
support Evolution
[ http://issues.apache.org/jira/browse/JAMES-664?page=comments#action_12443814 ]
Joachim Draeger commented on JAMES-664:
---------------------------------------
Thanks for reporting and the patch!
I can confirm this. Current implementation requires the "data items to be fetched" in a parenthesized list,
even if it's only one.
Like:
C00006 UID FETCH 1 (BODY.PEEK[])
D00008 FETCH 1 (UID)
RFC allows a "single atom", without parenthesis, as seen above.
ABNF from rfc3501 is clear here:
fetch = "FETCH" SP sequence-set SP ("ALL" / "FULL" / "FAST" /
fetch-att / "(" fetch-att *(SP fetch-att) ")")
I will likely apply the patch, after I've written some unit tests. The whole parsing of many commands has become quite complicated and that's why difficult to read and error prone. I hope we'll find a better way sometime.
> Improve fetch command parsing to support Evolution
> --------------------------------------------------
>
> Key: JAMES-664
> URL: http://issues.apache.org/jira/browse/JAMES-664
> Project: James
> Issue Type: Improvement
> Components: IMAPServer
> Affects Versions: Trunk
> Reporter: Zsombor Gegesy
> Assigned To: Joachim Draeger
> Fix For: Trunk
>
> Attachments: fetch-fixes.patch
>
>
> Evolution use the following commands when fetching message, browsing mailboxes:
> C00006 UID FETCH 1 BODY.PEEK[]
> D00008 FETCH 1 UID
> This is not supported in the current codebase, the attached patch fix this problem
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
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