Enable filtering in screenshots.php
This commit is contained in:
@@ -21,18 +21,11 @@
|
|||||||
// application environment
|
// application environment
|
||||||
include("path.php");
|
include("path.php");
|
||||||
require(BASE."include/incl.php");
|
require(BASE."include/incl.php");
|
||||||
|
require(BASE."include/filter.php");
|
||||||
require_once(BASE."include/screenshot.php");
|
require_once(BASE."include/screenshot.php");
|
||||||
require(BASE."include/application.php");
|
require(BASE."include/application.php");
|
||||||
require(BASE."include/mail.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
|
// we issued a command
|
||||||
if($aClean['sCmd'])
|
if($aClean['sCmd'])
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user