From: Michael M Slusarz Date: Tue, 22 Jun 2021 17:52:02 +0000 (-0600) Subject: imap: PREVIEW responses need trailing space X-Git-Tag: 2.3.16~23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=954db37d6b5ceffb25b6fdc4f0e61aa22886184c;p=thirdparty%2Fdovecot%2Fcore.git imap: PREVIEW responses need trailing space 2.3.15 regression Before 2.3.15, there was this same buggy behavior in error cases; 2.3.15 moved that buggy behavior to the success code path DOP-2463 --- diff --git a/src/imap/imap-fetch-body.c b/src/imap/imap-fetch-body.c index 59a9b24d99..39e66f093d 100644 --- a/src/imap/imap-fetch-body.c +++ b/src/imap/imap-fetch-body.c @@ -648,6 +648,7 @@ fetch_snippet(struct imap_fetch_context *ctx, struct mail *mail, str_append(ctx->state.cur_str, "NIL"); if (preview->old_standard) str_append(ctx->state.cur_str, ")"); + str_append_c(ctx->state.cur_str, ' '); return 1; }