From 429817e42147508ec910ec7f21d720959c50aecb Mon Sep 17 00:00:00 2001 From: "Niels Erik G. Nielsen" Date: Sat, 14 Dec 2013 10:54:07 -0500 Subject: [PATCH] Bugfix, doesn't escape | (delimiter) in filter expression --- .../java/com/indexdata/mkjsf/pazpar2/commands/FilterParameter.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/com/indexdata/mkjsf/pazpar2/commands/FilterParameter.java b/src/main/java/com/indexdata/mkjsf/pazpar2/commands/FilterParameter.java index 6841d36..4bafeb8 100644 --- a/src/main/java/com/indexdata/mkjsf/pazpar2/commands/FilterParameter.java +++ b/src/main/java/com/indexdata/mkjsf/pazpar2/commands/FilterParameter.java @@ -45,7 +45,6 @@ public class FilterParameter extends CommandParameter { private String pz2escape (String expressionString) { String escaped = expressionString.replaceAll("\\\\","\\\\\\\\"); escaped = escaped.replaceAll(",","\\\\,"); - escaped = escaped.replaceAll("\\|", "\\\\|"); return escaped; } -- 1.7.10.4