Short term fix on SqlSanitize (should move to parameterized Qs anyway)
This commit is contained in:
@@ -234,7 +234,7 @@ namespace Swarmops.Database
|
||||
string[] forbiddenArray =
|
||||
{
|
||||
"\\", "--", ";", "/*", "*/", "select ", "drop ", "update ", "delete ", "insert ",
|
||||
"="
|
||||
"=", "`"
|
||||
};
|
||||
|
||||
string output = input.Replace ("'", "\\'"); // the typical case
|
||||
|
||||
Reference in New Issue
Block a user