Escape route path for LIKE queries
What does this MR do?
Fixes queries where LIKE 'path' clause is being used. In case there was
_` inside the path and there was another entity with the similar name the queries would return incorrect results
Eg. SELECT FROM routes WHERE path like 'git_lab%'
would return entity with git_lab
in path but also eg. gittlab
.
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated -
API support added - Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together
What are the relevant issue numbers?
Closes #29583