Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#1725] datastore_search and _delete don't work with multiple statements
What we're trying to avoid is for an insecure extension to allow a malicious user to create queries like: ``` SELECT * FROM "foo" WHERE (1=1); DELETE FROM "foo"; -- AND "bar"='5'); ``` This doesn't avoid all possible SQL injection vectors, but it's one less issue to worry about.
- Loading branch information
1 parent
1b0b405
commit b4befdd
Showing
3 changed files
with
68 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters