diff --git a/lib/mu-str.c b/lib/mu-str.c index 343f41de..9f5d675a 100644 --- a/lib/mu-str.c +++ b/lib/mu-str.c @@ -468,6 +468,7 @@ is_xapian_special_char (char c) case '(': case ')': case '"': + case '\\': case '\'': case '*': return TRUE; @@ -533,6 +534,7 @@ mu_str_xapian_escape_in_place_try (char *term, gboolean esc_space, GStringChunk case '[': case ']': case '+': + case '\\': case '-': *cur = ESC_CHAR; break;