]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
Fixed searching multiple mailboxes
authorx16a0 <m.k-92@gmx.de>
Fri, 15 Jul 2016 07:53:12 +0000 (09:53 +0200)
committerGitLab <gitlab@git.dovecot.net>
Thu, 4 Aug 2016 17:28:51 +0000 (20:28 +0300)
commit42c773260cf37008bfc398fbfe36e0a034299e3a
tree6ab9030f6082acbfc50d651fa9e4060bd2a37ea9
parent9224645cf699abae90fdd2cdf54247444f7acc18
Fixed searching multiple mailboxes

When searching multiple mailboxes, a condition to search these mailboxes is added to the query string. However, this condition has to be separated from the preceding condition by a space (a '+' in this case, as it's encoded); otherwise, Solr considers it to be part of the previous condition, in which case it will fail to parse it properly. Therefore, this patch adds that one missing character so it works again.
src/plugins/fts-solr/fts-backend-solr.c