Escape exclamation marks for now.
This commit is contained in:
parent
ff7ab3994f
commit
cbb2ef79ff
1 changed files with 1 additions and 0 deletions
|
|
@ -81,6 +81,7 @@ class SearchPostgres extends SearchEngine {
|
|||
wfDebug( "Can't understand search query '{$this->filteredText}'\n" );
|
||||
}
|
||||
|
||||
$searchon = preg_replace('/!/','\\!',$searchon);
|
||||
$searchon = preg_replace('/(\s+)/','&',$searchon);
|
||||
$searchon = $this->db->strencode( $searchon );
|
||||
return $searchon;
|
||||
|
|
|
|||
Loading…
Reference in a new issue