Skip to content

Commit 7639e55

Browse files
authored
Added '/' to escaped characters
ES doesn't like '/'
1 parent be29eba commit 7639e55

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
@@ -290,7 +290,7 @@ private static function _parseParams($key, $value): string
290290

291291
public static function _escape($value): string
292292
{
293-
$specialChars = ['"', '\\', '~', '^'];
293+
$specialChars = ['"', '\\', '~', '^', '/'];
294294
foreach ($specialChars as $char) {
295295
$value = str_replace($char, "\\".$char, $value);
296296
}

0 commit comments

Comments
 (0)