]> BookStack Code Mirror - bookstack/commit
Search: Added further backslash handling
authorDan Brown <redacted>
Sat, 23 Sep 2023 12:41:10 +0000 (13:41 +0100)
committerDan Brown <redacted>
Sat, 23 Sep 2023 12:41:10 +0000 (13:41 +0100)
commitf77bb01b514a0ae6a469ec33a40d0d053d804d40
tree1496fdcf98a16cf549c50a2771beae217fbbc3e5
parentfb417828a49e4e7480dd55739a094c12c86c71a8
Search: Added further backslash handling

Added due to now not being able to perform an exact search where
contains a trailing backslash.
Now all backslashes in exact terms are consided escape chars
and require escaping themselves.
Potential breaking change due to search syntax handling change.

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