Fix and enable input filtering through include/filter.php
This commit is contained in:
@@ -23,13 +23,6 @@ require(BASE."include/incl.php");
|
||||
require_once(BASE."include/category.php");
|
||||
require_once(BASE."include/application.php");
|
||||
|
||||
$aClean = array(); //array of filtered user input
|
||||
|
||||
$aClean['iAppId'] = makeSafe($_POST['iAppId']);
|
||||
$aClean['iVersionId'] = makeSafe($_POST['iVersionId']);
|
||||
$aClean['iConfirmed'] = makeSafe($_POST['iConfirmed']);
|
||||
$aClean['iSuperMaintainer'] = makeSafe($_POST['iSuperMaintainer']);
|
||||
|
||||
if(!$_SESSION['current']->isLoggedIn())
|
||||
util_show_error_page_and_exit("You need to be logged in to resign from being a maintainer.");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user