Skip to content

Conversation

@nevans
Copy link
Collaborator

@nevans nevans commented Dec 22, 2024

Previously, imap.uid_search "ALL", return: ["PARTIAL", 1...500] would wrongly encode the range to "1:500", but it should encode as "1:499".

Maybe this could have been a one line bugfix: first, last = range.minmax. But the rest was written to simplify support for the PARTIAL extension (#367).

This _could_ be a one line bugfix: `first, last = range.minmax`.  But
the rest was written to simplify support for the `PARTIAL` extension.
@nevans nevans merged commit 43f531e into master Dec 22, 2024
30 checks passed
@nevans nevans deleted the fix-exclusive-partial-range-encoding branch December 22, 2024 23:33
@nevans nevans added the bug Something isn't working label Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants