appdb/. screenshots.php

WineHQ wineowner at wine.codeweavers.com
Fri Jul 7 12:06:26 CDT 2006


ChangeSet ID:	26330
CVSROOT:	/opt/cvs-commit
Module name:	appdb
Changes by:	wineowner at winehq.org	2006/07/07 12:06:26

Modified files:
	.              : screenshots.php 

Log message:
	Jonathan Ernst <jonathan at ernstfamily.ch>
	Enable filtering in screenshots.php

Patch: http://cvs.winehq.org/patch.py?id=26330

Old revision  New revision  Changes     Path
 1.37          1.38          +1 -8       appdb/screenshots.php

Index: appdb/screenshots.php
diff -u -p appdb/screenshots.php:1.37 appdb/screenshots.php:1.38
--- appdb/screenshots.php:1.37	7 Jul 2006 17: 6:26 -0000
+++ appdb/screenshots.php	7 Jul 2006 17: 6:26 -0000
@@ -21,18 +21,11 @@
 // application environment
 include("path.php");
 require(BASE."include/incl.php");
+require(BASE."include/filter.php");
 require_once(BASE."include/screenshot.php");
 require(BASE."include/application.php");
 require(BASE."include/mail.php");
 
-$aClean = array(); //array of filtered user input
-
-$aClean['sCmd'] = makeSafe($_REQUEST['sCmd']);
-$aClean['iVersionId'] = makeSafe($_REQUEST['iVersionId']);
-$aClean['sScreenshotDesc'] = makeSafe($_REQUEST['sScreenshotDesc']);
-$aClean['iImageId'] = makeSafe($_REQUEST['iImageId']);
-$aClean['iAppId'] = makeSafe($_REQUEST['iAppId']);
-
 // we issued a command
 if($aClean['sCmd'])
 {



More information about the wine-cvs mailing list