appdb/. testResults.php
WineHQ
wineowner at wine.codeweavers.com
Sat Jul 8 00:02:22 CDT 2006
ChangeSet ID: 26348
CVSROOT: /opt/cvs-commit
Module name: appdb
Changes by: wineowner at winehq.org 2006/07/08 00:02:22
Modified files:
. : testResults.php
Log message:
Chris Morgan <cmorgan at alum.wpi.edu>
Revert test result filtering changes until we can figure out how to deal with xinha variable names
that don't match our internal ones
Patch: http://cvs.winehq.org/patch.py?id=26348
Old revision New revision Changes Path
1.12 1.13 +9 -1 appdb/testResults.php
Index: appdb/testResults.php
diff -u -p appdb/testResults.php:1.12 appdb/testResults.php:1.13
--- appdb/testResults.php:1.12 8 Jul 2006 5: 2:22 -0000
+++ appdb/testResults.php 8 Jul 2006 5: 2:22 -0000
@@ -5,12 +5,20 @@
require("path.php");
require(BASE."include/incl.php");
-require(BASE."include/filter.php");
require_once(BASE."include/tableve.php");
require_once(BASE."include/application.php");
require_once(BASE."include/testResults.php");
require_once(BASE."include/distributions.php");
+$aClean = array(); //array of filtered user input
+
+$aClean['sSub'] = makeSafe($_REQUEST['sSub']);
+$aClean['iTestingId'] = makeSafe($_REQUEST['iTestingId']);
+$aClean['iVersionId'] = makeSafe($_REQUEST['iVersionId']);
+$aClean['iDistributionId'] = makeSafe($_REQUEST['iDistributionId']);
+$aClean['sDistribution'] = makeSafe($_REQUEST['sDistribution']);
+
+
if ($aClean['sSub'])
{
$oTest = new testData($aClean['iTestingId']);
More information about the wine-cvs
mailing list