]> BookStack Code Mirror - bookstack/commit
Search: Added support for escaped exact terms
authorDan Brown <redacted>
Tue, 19 Sep 2023 19:09:33 +0000 (20:09 +0100)
committerDan Brown <redacted>
Tue, 19 Sep 2023 19:09:33 +0000 (20:09 +0100)
commit89645759731bfd23cbaea3bb6d971f32579d5416
treef37dc410a12ff4d0989bbd53ce99adfd3b3a1e24
parent4b4d8ba2a18fd6daa0face55742d50dc0230a4b4
Search: Added support for escaped exact terms

Also prevented use of empty exact matches.
Prevents issues when attempting to use exact search terms in inputs for
just search terms, and use of single " chars within search terms since
these would get auto-promoted to exacts.

For #4535
app/Search/SearchOptions.php
tests/Entity/SearchOptionsTest.php
Morty Proxy This is a proxified and sanitized view of the page, visit original site.