[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.
Resolves: #69227
Releases: master
Change-Id: I29c41bfecdbc13e8156ab9257b906696bc7a5e4f
Reviewed-on: http://review.typo3.org/42806
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>