From 2b492a1fbac569aaba66ff51eec3f028f34de1bf Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Thu, 3 May 2018 19:09:19 +0200 Subject: [PATCH] remove " from fts queries --- src/main/java/eu/siacs/conversations/utils/FtsUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/utils/FtsUtils.java b/src/main/java/eu/siacs/conversations/utils/FtsUtils.java index 783ca476d..4a6ccf399 100644 --- a/src/main/java/eu/siacs/conversations/utils/FtsUtils.java +++ b/src/main/java/eu/siacs/conversations/utils/FtsUtils.java @@ -41,7 +41,7 @@ public class FtsUtils { public static List parse(String input) { List term = new ArrayList<>(); - for (String part : input.split("\\s+")) { + for (String part : input.replace('"',' ').split("\\s+")) { if (part.isEmpty()) { continue; }