Fix and enable input filtering through include/filter.php

This commit is contained in:
Chris Morgan
2007-01-04 02:35:01 +00:00
committed by WineHQ
parent 582ee561fc
commit a1a41d6b87
58 changed files with 129 additions and 385 deletions

View File

@@ -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.");