Skip to content
Permalink
Browse files Browse the repository at this point in the history
adding some more things to filter
  • Loading branch information
caseysoftware committed Apr 30, 2014
1 parent 7028ca6 commit eead99b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/main_functions.php
Expand Up @@ -197,7 +197,7 @@ function w2PgetParam(&$arr, $name, $def = null)
$result = $_result;
} else {
$_result = strip_tags($arr[$key]);
$result = preg_replace("/<>'\"\[\]{}:;/", "", $_result);
$result = preg_replace("/<>\`'\"\[\]{}():;/", "", $_result);
}
} else {
$result = $def;
Expand Down

0 comments on commit eead99b

Please sign in to comment.