mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 528076 - Unsafe LIKE warning wrongly references mozIStorageConnection::escapeStringForLIKE. r=sdwilsh
This commit is contained in:
parent
a7d6024566
commit
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.");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user