From 76da8059c2ae57cf65707d4d31ea5c7d77d1e8ce Mon Sep 17 00:00:00 2001
From: "b.ulrich" <b.ulrich@adito.de>
Date: Mon, 5 Oct 2020 09:24:17 +0200
Subject: [PATCH] =?UTF-8?q?[Projekt:=20Entwicklung=20-=20Neon][TicketNr.:?=
 =?UTF-8?q?=201066051][Dublettensuche=20entfernt=20unn=C3=B6tig=20Punkt=20?=
 =?UTF-8?q?vor=20der=20Suche]?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 process/DuplicateScanner_lib/process.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/process/DuplicateScanner_lib/process.js b/process/DuplicateScanner_lib/process.js
index 22af6346ec9..983c5c27453 100644
--- a/process/DuplicateScanner_lib/process.js
+++ b/process/DuplicateScanner_lib/process.js
@@ -728,7 +728,7 @@ DuplicateScannerUtils.buildEntityFieldConfigs = function(pDuplicateFieldsConfig,
         if(entityFieldValue == null)
             entityFieldValue = "";
         else
-            entityFieldValue = entityFieldValue.toLowerCase().replace(/[():\.\/!]/gi, "").trim();
+            ntityFieldValue = indexsearch.escapeString(entityFieldValue).trim();
         
         let exclude = fieldConfig.exclude;
         if (exclude)
-- 
GitLab