From f1f7030566b17f596e2d6083047535ddd9b94e8c Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 10 Jun 2020 07:05:04 +0000 Subject: imap: UID FETCH requires at least one data item It seems required based on my reading of RFC 3501 for the non-UID "FETCH" command. --- lib/PublicInbox/IMAP.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/PublicInbox/IMAP.pm') diff --git a/lib/PublicInbox/IMAP.pm b/lib/PublicInbox/IMAP.pm index 9cdcba69..d3f4874e 100644 --- a/lib/PublicInbox/IMAP.pm +++ b/lib/PublicInbox/IMAP.pm @@ -884,7 +884,7 @@ sub fetch_compile ($) { @r; } -sub cmd_uid_fetch ($$$;@) { +sub cmd_uid_fetch ($$$$;@) { my ($self, $tag, $range_csv, @want) = @_; my $ibx = $self->{ibx} or return "$tag BAD No mailbox selected\r\n"; my ($cb, $ops, $partial) = fetch_compile(\@want); -- cgit v1.2.3-24-ge0c7