diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-05-05 20:39:15 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-05-05 20:39:15 +0200 |
commit | a88700566a783414767f5e88723a373492ae9871 (patch) | |
tree | ead5d26b03f544d022119bf136e4ef9921cb7c1e /src/main | |
parent | 7d5c374fd09bdeaf3acd2dca653e618ecd3e2c71 (diff) |
remove " from fts queries
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/de/pixart/messenger/utils/FtsUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/utils/FtsUtils.java b/src/main/java/de/pixart/messenger/utils/FtsUtils.java index 3a00ac7fd..8ba23fbae 100644 --- a/src/main/java/de/pixart/messenger/utils/FtsUtils.java +++ b/src/main/java/de/pixart/messenger/utils/FtsUtils.java @@ -40,7 +40,7 @@ public class FtsUtils { public static List<String> parse(String input) { List<String> term = new ArrayList<>(); - for (String part : input.split("\\s+")) { + for (String part : input.replace('"', ' ').split("\\s+")) { if (part.isEmpty()) { continue; } |