Displaying 1 result from an estimated 1 matches for "binary_body_r".
Did you mean:
binary_body
2013 Feb 22
1
patch to fix binary attachment indexing
...backend_update_build_more()) is garbled. This patch ungarbles it but I?m not positive it?s the best fix.
--- dovecot-2.1.15/src/plugins/fts/fts-build-mail.c 2012-11-27 02:07:27.000000000 -0600
+++ dovecot/src/plugins/fts/fts-build-mail.c 2013-02-21 19:48:15.000000000 -0600
@@ -178,7 +178,8 @@
*binary_body_r = TRUE;
key.type = FTS_BACKEND_BUILD_KEY_BODY_PART_BINARY;
}
- if (ctx->body_parser == NULL)
+ if (ctx->body_parser == NULL &&
+ key.type != FTS_BACKEND_BUILD_KEY_BODY_PART_BINARY)
ctx->body_parser = fts_parser_text_init();
key.body_content_type = content_type;
key....