Short term fix on SqlSanitize (should move to parameterized Qs anyway)

This commit is contained in:
Rick Falkvinge
2014-12-22 09:47:19 +01:00
parent 86bce00b87
commit dd1896140c
+1 -1
View File
@@ -234,7 +234,7 @@ namespace Swarmops.Database
string[] forbiddenArray =
{
"\\", "--", ";", "/*", "*/", "select ", "drop ", "update ", "delete ", "insert ",
"="
"=", "`"
};
string output = input.Replace ("'", "\\'"); // the typical case