cms
cms copied to clipboard
Search does not return entry with the exact same title
Bug description
Title of my entry: Informatiker/in EFZ
If I search for exactly this term (for example with the help of a datalist in my frontend), it doesn't get returned.
search-Parameter:
?q=Informatiker%2Fin+EFZ
search-JSON:
{"title":"Informatiker\/in EFZ"}
How to reproduce
If I change: https://github.com/statamic/cms/blob/d49cbf9cf9fc67d4cc6bea77a333e6a682bddafc/src/Search/Comb/Comb.php#L369
to:
return $raw_query;
It works as expected.
(I'm by the way not sure, if this is bad for security...)
Logs
No response
Versions
Statamic 3.2.21 Pro Laravel 8.70.2 PHP 8.0.12
Installation
Fresh statamic/statamic site via CLI
Additional details
No response
Maybe related to https://github.com/statamic/cms/issues/4405