Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing text in HIGHESTMODSEQ response #28

Open
duesee opened this issue May 11, 2024 · 0 comments
Open

Missing text in HIGHESTMODSEQ response #28

duesee opened this issue May 11, 2024 · 0 comments
Labels
AFFECTED=imap.gmail.com PROTO=IMAP Related to IMAP protocol STATE=REPORTED Reported (explained in issue)

Comments

@duesee
Copy link
Member

duesee commented May 11, 2024

Status responses in IMAP MUST have a non-empty text (and preceeding space).

resp-text = ["[" resp-text-code "]" SP] text
text      = 1*TEXT-CHAR
TEXT-CHAR = <any CHAR except CR and LF>

It was observed that Gmail has neither the SP nor the text when using HIGHESTMODSEQ.

Observed in: Gmail (Sep. 27, 2023)
Reported: Yes
Status: [Open](https://issuetracker.google.com/issues/289877509)
Comment: The examples in RFC 7162 are wrong, see [errata](https://www.rfc-editor.org/errata/eid5055).
Proposed solution(s):
    Wait for Gmail to fix it (or comment on issue)
    Replace with a sentinel value and log warning (implemented in [imap-codec](https://github.com/duesee/imap-codec))
    Discard, but make sure not to reproduce the defect
@duesee duesee added PROTO=IMAP Related to IMAP protocol STATE=REPORTED Reported (explained in issue) AFFECTED=imap.gmail.com labels May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AFFECTED=imap.gmail.com PROTO=IMAP Related to IMAP protocol STATE=REPORTED Reported (explained in issue)
Projects
None yet
Development

No branches or pull requests

1 participant