Issue Bug Closed

#14679tslib_cObj->searchWhere does not escape SQL-LIKE-wildcards

Martin Kutschker 04/18/05, 12:32 updated 08/12/06, 14:21

Description

As the function expects user input it must escape _ and %.

Escaping is probably DB dependent so the fix could go into t3lib_db. Either as quoteStrForLike() or as a third and optional paramter to quoteStr().

(issue imported from #M990)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.