The source project of this merge request has been removed.
Escape search terms before passing to Regexp
What does this MR do?
Use Regexp.escape
to escape the search terms before passing them to Regexp.new
.
Why was this MR needed?
- evaluated regular expressions in search terms lead to unexpected result
- unbalanced parentheses in search term lead to server error
What are the relevant issue numbers?
fixes #14360 (closed)