Bug 528076 - Unsafe LIKE warning wrongly references mozIStorageConnection::escapeStringForLIKE. r=sdwilsh

This commit is contained in:
Blair McBride 2009-11-14 10:15:12 +01:00
Родитель a7d6024566
Коммит 66bcafe3f5
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -249,7 +249,7 @@ Statement::initialize(Connection *aDBConnection,
// or @, all of which are valid characters for binding a parameter.
// We will warn the consumer that they may not be safely using LIKE.
NS_WARNING("Unsafe use of LIKE detected! Please ensure that you "
"are using mozIStorageConnection::escapeStringForLIKE "
"are using mozIStorageStatement::escapeStringForLIKE "
"and that you are binding that result to the statement "
"to prevent SQL injection attacks.");
}