mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-20 04:20:55 +01:00
Fix a bad call in ElasticSearch recovery code
Summary: Ref T4446. Some discussion in IRC. Prior to hitting the 1.0.0 issue, we hit and resolved this issue; this is a leftover call from bringing ApplicationSearch to main search. Test Plan: User confirmed this fixes the issue. Reviewers: btrahan Reviewed By: btrahan CC: aran Maniphest Tasks: T4446 Differential Revision: https://secure.phabricator.com/D8260
This commit is contained in:
parent
da459fd536
commit
7ff539b729
1 changed files with 2 additions and 1 deletions
|
@ -222,7 +222,8 @@ final class PhabricatorSearchEngineElastic extends PhabricatorSearchEngine {
|
|||
throw $ex;
|
||||
}
|
||||
$query = clone $query;
|
||||
$query->setQuery(
|
||||
$query->setParameter(
|
||||
'query',
|
||||
addcslashes(
|
||||
$query->getParameter('query'), '+-&|!(){}[]^"~*?:\\'));
|
||||
$response = $this->executeRequest($uri, $this->buildSpec($query));
|
||||
|
|
Loading…
Reference in a new issue