dovecot-2.2: fts-solr: Indexing mail bodies was broken.

dovecot at dovecot.org dovecot at dovecot.org
Sun May 20 03:26:30 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/bcc5e71650b9
changeset: 14389:bcc5e71650b9
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Mar 26 18:17:52 2012 +0300
description:
fts-solr: Indexing mail bodies was broken.

diffstat:

 src/plugins/fts-solr/fts-backend-solr.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r a71bc8dbe53d -r bcc5e71650b9 src/plugins/fts-solr/fts-backend-solr.c
--- a/src/plugins/fts-solr/fts-backend-solr.c	Mon Mar 26 17:24:59 2012 +0300
+++ b/src/plugins/fts-solr/fts-backend-solr.c	Mon Mar 26 18:17:52 2012 +0300
@@ -514,6 +514,7 @@
 			data += len;
 			size -= len;
 		}
+		xml_encode_data(ctx->cur_value, data, size);
 	} else {
 		xml_encode_data(ctx->cur_value, data, size);
 		if (ctx->cur_value2 != NULL)


More information about the dovecot-cvs mailing list