Skip to content
Snippets Groups Projects
Commit 5f879e26 authored by Tymoteusz Motylewski's avatar Tymoteusz Motylewski Committed by Benni Mack
Browse files

[!!!][BUGFIX] Indexed Search: Escape search strings for LIKE queries

LIKE queries support special placeholders (_ and %).
These characters need proper escaping before being used
in database queries. Use the escapeStrForLike() method to
provide properly escaped strings to the query.

This patch handles few places missed by http://review.typo3.org/42806

Resolves: #69227
Releases: master
Change-Id: Ie68dd140aafa755be08ba9505b3ac33f00a8f2e2
Reviewed-on: http://review.typo3.org/42969


Reviewed-by: default avatarAlexander Opitz <opitz.alexander@googlemail.com>
Tested-by: default avatarAlexander Opitz <opitz.alexander@googlemail.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent ca7f2c47
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment