Skip to content

Commit 502c3c2

Browse files
committed
Query escape upgrade
1 parent 335eb95 commit 502c3c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DSL/QueryBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ private static function _parseParams($key, $value): string
250250

251251
public static function _escape($value)
252252
{
253-
$specialChars = ['+', '-', '=', '&&', '||', '>', '<', '!', '(', ')', '{', '}', '[', ']', '^', '"', '~', '\\'];
253+
$specialChars = ['"', '\\', '~', '^'];
254254
foreach ($specialChars as $char) {
255255
$value = str_replace($char, "\\".$char, $value);
256256
}

0 commit comments

Comments
 (0)