Project

General

Profile

Actions

Bug #14679

closed

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

Added by Martin Kutschker over 19 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Category:
Frontend
Target version:
-
Start date:
2005-04-18
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.8.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)


Files

class.tslib_content.990.patch (660 Bytes) class.tslib_content.990.patch Administrator Admin, 2005-05-19 18:33
Actions

Also available in: Atom PDF