[Koha-bugs] [Bug 20334] Option for escaping slashes in search queries
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Mar 5 14:20:52 CET 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20334
David Gustafsson <glasklas at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #72434|0 |1
is obsolete| |
--- Comment #2 from David Gustafsson <glasklas at gmail.com> ---
Created attachment 72435
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=72435&action=edit
Bug 20334 - Option for escaping slashes in search queries
Add "QueryRegexEscapeOption" system preference to provide option to escape
Elasticsearch regexp delimiters (/) within queries, or alternativly to
unescape escaped slashes (\/) while escaping unescaped slashes, in
effect making "\/" the new regexp delimiter.
How to test:
1) Run tests in ./t/Koha/SearchEngine/ElasticSearch/QueryBuilder.t
2) All tests should succeed
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list