зеркало из https://github.com/mozilla/gecko-dev.git
Bug 528076 - Unsafe LIKE warning wrongly references mozIStorageConnection::escapeStringForLIKE. r=sdwilsh
This commit is contained in:
Родитель
a7d6024566
Коммит
66bcafe3f5
|
@ -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.");
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче