1
0
mirror of https://github.com/YGGverse/YGGo.git synced 2025-03-13 05:41:02 +00:00

add new chars quoting

This commit is contained in:
ghost 2023-05-01 18:58:03 +03:00
parent f7807cf43e
commit d40b914983

@ -57,7 +57,7 @@ class Filter {
static public function sphinxSearchQuery(string $query) {
$query = str_replace(['\\', '/', '~', '@', '!'], ['\\\'', '\/', '\~', '\@', '\!'], $query);
$query = str_replace(['\\', '/', '~', '@', '!', '"', '(', ')'], ['\\\'', '\/', '\~', '\@', '\!', '\"', '\(', '\)'], $query);
$query = trim($query);