Actions
Anomalie #912
closedescape search input before performing fulltext search
Start date:
02/01/2020
Due date:
% Done:
100%
Estimated time:
0.50 h
Resolution:
Description
https://stackoverflow.com/questions/26507087/escape-string-for-use-in-mysql-fulltext-search
$search = preg_replace('/[^\p{L}\p{N}_]+/u', ' ', $keyword);
$search = preg_replace('/[+\-><\(\)~*\"@]+/', ' ', $keyword);
Actions