buddh4 2019-02-19 16:38:49 +01:00
parent 62e496e529
commit eb12c6d74d
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@ HumHub Change Log
1.3.10 (Unreleased)
---------------------------
- Fix: Removed ContentTag logging in search update
- Fix #2567 https://github.com/humhub/humhub/issues/2567
1.3.9 (February 13, 2019)

View File

@ -163,7 +163,7 @@ class ZendLuceneSearch extends Search
$options = $this->setDefaultFindOptions($options);
$index = $this->getIndex();
$keyword = str_replace(['*', '?', '_', '$', '-', '.'], ' ', mb_strtolower($keyword, 'utf-8'));
$keyword = str_replace(['*', '?', '_', '$', '-', '.', '\'', '+', '&&' ,'||' ,'!' ,'(', ')','{', '}', '[', ']', '^', '"', '~', ':', '\\'], ' ', mb_strtolower($keyword, 'utf-8'));
$query = $this->buildQuery($keyword, $options);
if ($query === null) {