[
https://issues.apache.org/jira/browse/IMAP-211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12909627#action_12909627
]
Norman Maurer commented on IMAP-211:
------------------------------------
>From the RFC:
sequence-set = (seq-number / seq-range) *("," sequence-set)
; set of seq-number values, regardless of order.
; Servers MAY coalesce overlaps and/or execute the
; sequence in any order.
; Example: a message sequence number set of
; 2,4:7,9,12:* for a mailbox with 15 messages is
; equivalent to 2,4,5,6,7,9,12,13,14,15
; Example: a message sequence number set of *:4,5:7
; for a mailbox with 10 messages is equivalent to
; 10,9,8,7,6,5,4,5,6,7 and MAY be reordered and
; overlap coalesced to be 4,5,6,7,8,9,10.
> AbstractImapCommandParser should eliminate duplicated IdRanges
> --------------------------------------------------------------
>
> Key: IMAP-211
> URL: https://issues.apache.org/jira/browse/IMAP-211
> Project: JAMES Imap
> Issue Type: Bug
> Reporter: Norman Maurer
> Fix For: 0.2
>
>
> If you specify the same IdRange multiple times the parser should detect this
> and eliminate the duplicates. Dovecot for example handle it "correctly"
> James:
> a fetch 1:2,1:2 (FLAGS)
> * 1 FETCH (FLAGS (\Seen))
> * 2 FETCH (FLAGS (\Seen))
> * 1 FETCH (FLAGS (\Seen))
> * 2 FETCH (FLAGS (\Seen))
> Dovecot:
> a fetch 1:2,1:2 (FLAGS)
> * 1 FETCH (FLAGS (\Seen))
> * 2 FETCH (FLAGS (\Seen))
--
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]