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);
Updated by Simon almost 5 years ago
- Status changed from Nouveau to Fermé
- % Done changed from 0 to 100
Applied in changeset linea21|r3500.
Actions