From 510d1671bee7794289442292764adf3cc56c3200 Mon Sep 17 00:00:00 2001 From: Min-Soo Kim Date: Fri, 25 Dec 2020 21:31:48 +0900 Subject: [PATCH] =?UTF-8?q?=ED=8C=8C=EB=9D=BC=EB=AF=B8=ED=84=B0=20escape?= =?UTF-8?q?=20=EB=AA=A9=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/framework/parsers/dbquery/variablebase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/framework/parsers/dbquery/variablebase.php b/common/framework/parsers/dbquery/variablebase.php index b1f390ca7..92a7fbe9f 100644 --- a/common/framework/parsers/dbquery/variablebase.php +++ b/common/framework/parsers/dbquery/variablebase.php @@ -524,7 +524,7 @@ class VariableBase { $conditions[] = sprintf('%s LIKE ?', $column); } - $params[] = '%' . str_replace(['\\', '_', '%', '-'], ['\\\\', '\_', '\%', '\-'], $item) . '%'; + $params[] = '%' . str_replace(['\\', '_', '%'], ['\\\\', '\_', '\%'], $item) . '%'; // if there is no operator, assume 'AND' $conditions[] = 'AND'; }