ChangeSet ID: 26344 CVSROOT: /opt/cvs-commit Module name: appdb Changes by: wineowner@winehq.org 2006/07/07 13:50:45
Modified files: . : appview.php
Log message: Chris Morgan cmorgan@alum.wpi.edu Revert filtering changes in appview.php as they impact all of the classes downstream that haven't been updated
Patch: http://cvs.winehq.org/patch.py?id=26344
Old revision New revision Changes Path 1.91 1.92 +7 -1 appdb/appview.php
Index: appdb/appview.php diff -u -p appdb/appview.php:1.91 appdb/appview.php:1.92 --- appdb/appview.php:1.91 7 Jul 2006 18:50:45 -0000 +++ appdb/appview.php 7 Jul 2006 18:50:45 -0000 @@ -20,7 +20,6 @@ // application environment require("path.php"); require(BASE."include/incl.php"); -require(BASE."include/filter.php"); require_once(BASE."include/application.php"); require_once(BASE."include/appdb.php"); require_once(BASE."include/vote.php"); @@ -28,6 +27,13 @@ require_once(BASE."include/category.php" require_once(BASE."include/maintainer.php"); require_once(BASE."include/monitor.php");
+$aClean = array(); //array of filtered user input + +$aClean['iAppId'] = makeSafe($_REQUEST['iAppId']); +$aClean['iVersionId'] = makeSafe($_REQUEST['iVersionId']); +$aClean['sSub'] = makeSafe($_REQUEST['sSub']); +$aClean['iBuglinkId'] = makeSafe($_REQUEST['iBuglinkId']); + $oApp = new Application($aClean['iAppId']); $oVersion = new Version($aClean['iVersionId']);