mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 528076 - Unsafe LIKE warning wrongly references mozIStorageConnection::escapeStringForLIKE. r=sdwilsh
This commit is contained in:
parent
de183afba2
commit
b954b9cae2
@ -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