Skip to content

Commit

Permalink
Fix #133 - Striplslashes that are not needed for prepared statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentin Hamon committed Dec 13, 2016
1 parent b2f165f commit 700e6eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions inc/scanconfig.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ function initFromForm($POST)
}

$this->antivirus_id = $POST["antivirus_id"];
$this->scan_name = $POST["scan_name"];
$this->scan_path = $POST["scan_path"];
$this->scan_options = $POST["scan_options"];
$this->scan_name = Toolbox::stripslashes_deep($POST["scan_name"]);
$this->scan_path = Toolbox::stripslashes_deep($POST["scan_path"]);
$this->scan_options = Toolbox::stripslashes_deep($POST["scan_options"]);
}

function initFromDB($id)
Expand Down

0 comments on commit 700e6eb

Please sign in to comment.