Skip to content

Commit

Permalink
Input comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Sirupsen committed Dec 6, 2009
1 parent 8dcc4f5 commit 5f80648
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions system/libraries/input.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public function __construct() {
if (!self::$instance) {
// If there's any $_POST data, clean it
if (is_array($_POST)) {
// For each value, clean it
foreach($_POST as $key => $val) {
$_POST[$key] = $this->xssClean($val);
}
Expand Down

0 comments on commit 5f80648

Please sign in to comment.