Remove comma

This commit is contained in:
Matt Pass
2014-04-24 12:10:17 +01:00
parent 6e7612d3ec
commit 9a2881cd7b

View File

@@ -83,7 +83,7 @@ function xssClean($data,$type) {
// === script ===
if ($type == "script") {
$bad = array("<", ">", "(", ")", "[", "]", "\"", "'", ";",);
$bad = array("<", ">", "(", ")", "[", "]", "\"", "'", ";");
$good = array("&lt;", "&gt;", "&lpar;", "&rpar;", "&lbrack;", "&rbrack;", "&quot;", "&apos;", "&semi;");
}