ChangeSet ID: 26325 CVSROOT: /opt/cvs-commit Module name: appdb Changes by: wineowner@winehq.org 2006/07/07 11:26:59
Modified files: . : appimage.php
Log message: Jonathan Ernst jonathan@ernstfamily.ch Enable filtering in appimage.php
Patch: http://cvs.winehq.org/patch.py?id=26325
Old revision New revision Changes Path 1.23 1.24 +1 -6 appdb/appimage.php
Index: appdb/appimage.php diff -u -p appdb/appimage.php:1.23 appdb/appimage.php:1.24 --- appdb/appimage.php:1.23 7 Jul 2006 16:26:59 -0000 +++ appdb/appimage.php 7 Jul 2006 16:26:59 -0000 @@ -18,14 +18,9 @@ // application environment include("path.php"); require(BASE."include/incl.php"); +require(BASE."include/filter.php"); require_once(BASE."include/screenshot.php");
-$aClean = array(); //array of filtered user input - -$aClean['iId'] = makeSafe($_REQUEST['iId']); -$aClean['sREQUEST_METHOD'] = makeSafe($_REQUEST['sREQUEST_METHOD']); -$aClean['bThumbnail'] = makeSafe($_REQUEST['bThumbnail']); - // an image doesn't have a link, so a cookie makes no sense header("Set-Cookie: "); header("Pragma: ");