ebcb8cc4fe8862e364f03dcbc05e3db8aac98230 |
|
27-Nov-2015 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Fixed escaping query parameters.
Solr documentation says that "quoted string" would already work without
escaping, but that doesn't seem to be true (we were also missing the \"
escaping there). So we'll now escape all the special characters without
quotes around it, which seems to work. Also added '/' to list of special
characters, which is used by Solr 4.0. |
d69318e501febc40a383c93d4337c5ead314f763 |
|
01-Jun-2015 |
Phil Carmody <phil@dovecot.fi> |
fts-solr: laxer check of uni_utf8_get_char_n() return value
If uni_utf8_get_char*() were changed to return the number of bytes in the
character on success, then all we care about is it being > 0 (i.e. not
error, not truncated).
Signed-off-by: Phil Carmody <phil@dovecot.fi> |