[Fusionforge-commits] r8338 - in trunk/gforge/www: help pm/reporting project/stats reporting tracker tracker/reporting

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Thu Nov 5 20:15:11 CET 2009


Author: aljeux
Date: 2009-11-05 20:15:11 +0100 (Thu, 05 Nov 2009)
New Revision: 8338

Modified:
   trunk/gforge/www/help/tracker.php
   trunk/gforge/www/pm/reporting/index.php
   trunk/gforge/www/project/stats/index.php
   trunk/gforge/www/reporting/groupadded.php
   trunk/gforge/www/reporting/groupadded_graph.php
   trunk/gforge/www/reporting/groupcum.php
   trunk/gforge/www/reporting/groupcum_graph.php
   trunk/gforge/www/reporting/projectact.php
   trunk/gforge/www/reporting/projectact_graph.php
   trunk/gforge/www/reporting/projecttime.php
   trunk/gforge/www/reporting/projecttime_graph.php
   trunk/gforge/www/reporting/siteact_graph.php
   trunk/gforge/www/reporting/sitetime.php
   trunk/gforge/www/reporting/sitetime_graph.php
   trunk/gforge/www/reporting/sitetimebar.php
   trunk/gforge/www/reporting/sitetimebar_graph.php
   trunk/gforge/www/reporting/timeadd.php
   trunk/gforge/www/reporting/toolspie.php
   trunk/gforge/www/reporting/toolspie_graph.php
   trunk/gforge/www/reporting/trackerpie_graph.php
   trunk/gforge/www/reporting/useract.php
   trunk/gforge/www/reporting/useract_graph.php
   trunk/gforge/www/reporting/useradded.php
   trunk/gforge/www/reporting/useradded_graph.php
   trunk/gforge/www/reporting/usercum.php
   trunk/gforge/www/reporting/usercum_graph.php
   trunk/gforge/www/reporting/usersummary.php
   trunk/gforge/www/reporting/usertime_graph.php
   trunk/gforge/www/tracker/browse.php
   trunk/gforge/www/tracker/reporting/index.php
   trunk/gforge/www/tracker/reporting/trackeract_graph.php
   trunk/gforge/www/tracker/reporting/trackerpie_graph.php
Log:
Fixes XSS and SQL vulnerabilities

Modified: trunk/gforge/www/help/tracker.php
===================================================================
--- trunk/gforge/www/help/tracker.php	2009-11-05 19:14:56 UTC (rev 8337)
+++ trunk/gforge/www/help/tracker.php	2009-11-05 19:15:11 UTC (rev 8338)
@@ -28,7 +28,7 @@
 
 $helpname = getStringFromRequest('helpname');
 
-help_header('Tracker Help - ' . ucwords(str_replace('_',' ',$helpname)));
+help_header('Tracker Help - ' . htmlspecialchars(ucwords(str_replace('_',' ',$helpname))));
 ?>
 <table width="100%" cellpadding="0" cellspacing="0" border="0">
 <tr>
@@ -75,7 +75,7 @@
 			print( _('You can monitor or un-monitor this item by clicking the "Monitor" button. <br /><br /><strong>Note!</strong> this will send you additional email. If you add comments to this item, or submitted, or are assigned this item, you will also get emails for those reasons as well!'));
 			break;
 		default:
-			print( _('UNKNOWN HELP REQUEST:'). $helpname);
+			print( _('UNKNOWN HELP REQUEST:'). htmlspecialchars($helpname));
 			break;
 	}
 ?>

Modified: trunk/gforge/www/pm/reporting/index.php
===================================================================
--- trunk/gforge/www/pm/reporting/index.php	2009-11-05 19:14:56 UTC (rev 8337)
+++ trunk/gforge/www/pm/reporting/index.php	2009-11-05 19:15:11 UTC (rev 8338)
@@ -86,8 +86,8 @@
 	$period_clause=period2sql($period,$span,"start_date");
 
 	if ($what=="aging") {
-		$start = getStringFromRequest('start');
-		$end = getStringFromRequest('end');
+		$start = getIntFromRequest('start');
+		$end = getIntFromRequest('end');
 
 		pm_header(array ("title"=>_('Aging Report')));
 		pm_reporting_header($group_id);

Modified: trunk/gforge/www/project/stats/index.php
===================================================================
--- trunk/gforge/www/project/stats/index.php	2009-11-05 19:14:56 UTC (rev 8337)
+++ trunk/gforge/www/project/stats/index.php	2009-11-05 19:15:11 UTC (rev 8338)
@@ -29,10 +29,11 @@
 }
 
 $area = getStringFromRequest('area');
-$SPAN = getStringFromRequest('SPAN');
-$start = getStringFromRequest('start');
-$end = getStringFromRequest('end');
+$SPAN = getIntFromRequest('SPAN');
+$start = getIntFromRequest('start');
+$end = getIntFromRequest('end');
 
+
 if (!$start) {
 	$z =& $report->getMonthStartArr();
 	$start = $z[count($z)-1];

Modified: trunk/gforge/www/reporting/groupadded.php
===================================================================
--- trunk/gforge/www/reporting/groupadded.php	2009-11-05 19:14:56 UTC (rev 8337)
+++ trunk/gforge/www/reporting/groupadded.php	2009-11-05 19:15:11 UTC (rev 8338)
@@ -34,9 +34,9 @@
 	exit_error('Error',$report->getErrorMessage());
 }
 
-$SPAN = getStringFromRequest('SPAN');
-$start = getStringFromRequest('start');
-$end = getStringFromRequest('end');
+$SPAN = getIntFromRequest('SPAN');
+$start = getIntFromRequest('start');
+$end = getIntFromRequest('end');
 
 if (!$start) {
 	$z =& $report->getMonthStartArr();

Modified: trunk/gforge/www/reporting/groupadded_graph.php
===================================================================
--- trunk/gforge/www/reporting/groupadded_graph.php	2009-11-05 19:14:56 UTC (rev 8337)
+++ trunk/gforge/www/reporting/groupadded_graph.php	2009-11-05 19:15:11 UTC (rev 8338)
@@ -32,9 +32,9 @@
 
 session_require( array('group'=>$sys_stats_group) );
 
-$SPAN = getStringFromRequest('SPAN');
-$start = getStringFromRequest('start');
-$end = getStringFromRequest('end');
+$SPAN = getIntFromRequest('SPAN');
+$start = getIntFromRequest('start');
+$end = getIntFromRequest('end');
 
 //
 //	Create Report

Modified: trunk/gforge/www/reporting/groupcum.php
===================================================================
--- trunk/gforge/www/reporting/groupcum.php	2009-11-05 19:14:56 UTC (rev 8337)
+++ trunk/gforge/www/reporting/groupcum.php	2009-11-05 19:15:11 UTC (rev 8338)
@@ -34,9 +34,9 @@
 	exit_error($report->getErrorMessage());
 }
 
-$SPAN = getStringFromRequest('SPAN');
-$start = getStringFromRequest('start');
-$end = getStringFromRequest('end');
+$SPAN = getIntFromRequest('SPAN');
+$start = getIntFromRequest('start');
+$end = getIntFromRequest('end');
 
 if (!$start) {
 	$z =& $report->getMonthStartArr();

Modified: trunk/gforge/www/reporting/groupcum_graph.php
===================================================================
--- trunk/gforge/www/reporting/groupcum_graph.php	2009-11-05 19:14:56 UTC (rev 8337)
+++ trunk/gforge/www/reporting/groupcum_graph.php	2009-11-05 19:15:11 UTC (rev 8338)
@@ -32,9 +32,9 @@
 
 session_require( array('group'=>$sys_stats_group) );
 
-$SPAN = getStringFromRequest('SPAN');
-$start = getStringFromRequest('start');
-$end = getStringFromRequest('end');
+$SPAN = getIntFromRequest('SPAN');
+$start = getIntFromRequest('start');
+$end = getIntFromRequest('end');
 
 //
 //	Create Report

Modified: trunk/gforge/www/reporting/projectact.php
===================================================================
--- trunk/gforge/www/reporting/projectact.php	2009-11-05 19:14:56 UTC (rev 8337)
+++ trunk/gforge/www/reporting/projectact.php	2009-11-05 19:15:11 UTC (rev 8338)
@@ -38,9 +38,9 @@
 
 $g_id = getStringFromRequest('g_id');
 $area = getStringFromRequest('area');
-$SPAN = getStringFromRequest('SPAN');
-$start = getStringFromRequest('start');
-$end = getStringFromRequest('end');
+$SPAN = getIntFromRequest('SPAN');
+$start = getIntFromRequest('start');
+$end = getIntFromRequest('end');
 
 if (!$start) {
 	$z =& $report->getMonthStartArr();

Modified: trunk/gforge/www/reporting/projectact_graph.php
===================================================================
--- trunk/gforge/www/reporting/projectact_graph.php	2009-11-05 19:14:56 UTC (rev 8337)
+++ trunk/gforge/www/reporting/projectact_graph.php	2009-11-05 19:15:11 UTC (rev 8338)
@@ -32,16 +32,11 @@
 require_once $gfwww.'include/unicode.php';
 
 $area = getStringFromRequest('area');
-$SPAN = getStringFromRequest('SPAN');
-$start = getStringFromRequest('start');
-$end = getStringFromRequest('end');
-$g_id = getStringFromRequest('g_id');
+$SPAN = getIntFromRequest('SPAN', 1);
+$start = getIntFromRequest('start');
+$end = getIntFromRequest('end');
+$g_id = getIntFromRequest('g_id');
 
-
-if (!$SPAN) {
-	$SPAN=1;
-}
-
 $area = util_ensure_value_in_set ($area, array ('tracker','forum','docman','taskman','downloads')) ;
 
 //

Modified: trunk/gforge/www/reporting/projecttime.php
===================================================================
--- trunk/gforge/www/reporting/projecttime.php	2009-11-05 19:14:56 UTC (rev 8337)
+++ trunk/gforge/www/reporting/projecttime.php	2009-11-05 19:15:11 UTC (rev 8338)
@@ -40,8 +40,8 @@
 $typ = getStringFromRequest('typ');
 $g_id = getStringFromRequest('g_id');
 $typ = getStringFromRequest('typ');
-$start = getStringFromRequest('start');
-$end = getStringFromRequest('end');
+$start = getIntFromRequest('start');
+$end = getIntFromRequest('end');
 
 if (!$start) {
 	$z =& $report->getMonthStartArr();

Modified: trunk/gforge/www/reporting/projecttime_graph.php
===================================================================
--- trunk/gforge/www/reporting/projecttime_graph.php	2009-11-05 19:14:56 UTC (rev 8337)
+++ trunk/gforge/www/reporting/projecttime_graph.php	2009-11-05 19:15:11 UTC (rev 8338)
@@ -36,8 +36,8 @@
 
 $g_id = getStringFromRequest('g_id');
 $type = getStringFromRequest('type');
-$start = getStringFromRequest('start');
-$end = getStringFromRequest('end');
+$start = getIntFromRequest('start');
+$end = getIntFromRequest('end');
 
 //
 //	Create Report

Modified: trunk/gforge/www/reporting/siteact_graph.php
===================================================================
--- trunk/gforge/www/reporting/siteact_graph.php	2009-11-05 19:14:56 UTC (rev 8337)
+++ trunk/gforge/www/reporting/siteact_graph.php	2009-11-05 19:15:11 UTC (rev 8338)
@@ -34,9 +34,9 @@
 session_require( array('group'=>$sys_stats_group) );
 
 $area = getStringFromRequest('area');
-$SPAN = getStringFromRequest('SPAN');
-$start = getStringFromRequest('start');
-$end = getStringFromRequest('end');
+$SPAN = getIntFromRequest('SPAN');
+$start = getIntFromRequest('start');
+$end = getIntFromRequest('end');
 
 //
 //	Create Report

Modified: trunk/gforge/www/reporting/sitetime.php
===================================================================
--- trunk/gforge/www/reporting/sitetime.php	2009-11-05 19:14:56 UTC (rev 8337)
+++ trunk/gforge/www/reporting/sitetime.php	2009-11-05 19:15:11 UTC (rev 8338)
@@ -38,8 +38,8 @@
 
 $typ = getStringFromRequest('typ');
 $type = getStringFromRequest('type');
-$start = getStringFromRequest('start');
-$end = getStringFromRequest('end');
+$start = getIntFromRequest('start');
+$end = getIntFromRequest('end');
 
 if (!$start) {
 	$z =& $report->getMonthStartArr();

Modified: trunk/gforge/www/reporting/sitetime_graph.php
===================================================================
--- trunk/gforge/www/reporting/sitetime_graph.php	2009-11-05 19:14:56 UTC (rev 8337)
+++ trunk/gforge/www/reporting/sitetime_graph.php	2009-11-05 19:15:11 UTC (rev 8338)
@@ -34,8 +34,8 @@
 
 session_require( array('group'=>$sys_stats_group) );
 
-$start = getStringFromRequest('start');
-$end = getStringFromRequest('end');
+$start = getIntFromRequest('start');
+$end = getIntFromRequest('end');
 $type = getStringFromRequest('type');
 
 //

Modified: trunk/gforge/www/reporting/sitetimebar.php
===================================================================
--- trunk/gforge/www/reporting/sitetimebar.php	2009-11-05 19:14:56 UTC (rev 8337)
+++ trunk/gforge/www/reporting/sitetimebar.php	2009-11-05 19:15:11 UTC (rev 8338)
@@ -37,8 +37,8 @@
 }
 
 $typ = getStringFromRequest('typ');
-$start = getStringFromRequest('start');
-$end = getStringFromRequest('end');
+$start = getIntFromRequest('start');
+$end = getIntFromRequest('end');
 
 if (!$start) {
 	$z =& $report->getMonthStartArr();

Modified: trunk/gforge/www/reporting/sitetimebar_graph.php
===================================================================
--- trunk/gforge/www/reporting/sitetimebar_graph.php	2009-11-05 19:14:56 UTC (rev 8337)
+++ trunk/gforge/www/reporting/sitetimebar_graph.php	2009-11-05 19:15:11 UTC (rev 8338)
@@ -45,8 +45,8 @@
 	exit;
 }
 
-$start = getStringFromRequest('start');
-$end = getStringFromRequest('end');
+$start = getIntFromRequest('start');
+$end = getIntFromRequest('end');
 
 if (!$start) {
 	$start=mktime(0,0,0,date('m'),1,date('Y'));;

Modified: trunk/gforge/www/reporting/timeadd.php
===================================================================
--- trunk/gforge/www/reporting/timeadd.php	2009-11-05 19:14:56 UTC (rev 8337)
+++ trunk/gforge/www/reporting/timeadd.php	2009-11-05 19:15:11 UTC (rev 8338)
@@ -68,7 +68,7 @@
 		}
 
 	} elseif (getStringFromRequest('add')) {
-		$days_adjust = getStringFromRequest('days_adjust');
+		$days_adjust = getIntFromRequest('days_adjust');
 
 		if ($project_task_id && $week && $days_adjust && $time_code && $hours) {
 
@@ -90,7 +90,7 @@
 				$feedback.=_('Successfully Added');
 			}
 		} else {
-			echo "$project_task_id && $week && $days_adjust && $time_code && $hours";
+			echo "INTERNAL ERROR: add: $project_task_id && $week && $days_adjust && $time_code && $hours";
 			exit_error('Error',_('All Fields Are Required.'));
 		}
 

Modified: trunk/gforge/www/reporting/toolspie.php
===================================================================
--- trunk/gforge/www/reporting/toolspie.php	2009-11-05 19:14:56 UTC (rev 8337)
+++ trunk/gforge/www/reporting/toolspie.php	2009-11-05 19:15:11 UTC (rev 8338)
@@ -35,8 +35,8 @@
 }
 
 $datatype = getStringFromRequest('datatype');
-$start = getStringFromRequest('start');
-$end = getStringFromRequest('end');
+$start = getIntFromRequest('start');
+$end = getIntFromRequest('end');
 
 if (!$start) {
 	$z =& $report->getMonthStartArr();

Modified: trunk/gforge/www/reporting/toolspie_graph.php
===================================================================
--- trunk/gforge/www/reporting/toolspie_graph.php	2009-11-05 19:14:56 UTC (rev 8337)
+++ trunk/gforge/www/reporting/toolspie_graph.php	2009-11-05 19:15:11 UTC (rev 8338)
@@ -48,8 +48,8 @@
 }
 
 $datatype = getIntFromRequest('datatype');
-$start = getStringFromRequest('start');
-$end = getStringFromRequest('end');
+$start = getIntFromRequest('start');
+$end = getIntFromRequest('end');
 
 if (!isset($datatype)) {
 	$datatype=1;

Modified: trunk/gforge/www/reporting/trackerpie_graph.php
===================================================================
--- trunk/gforge/www/reporting/trackerpie_graph.php	2009-11-05 19:14:56 UTC (rev 8337)
+++ trunk/gforge/www/reporting/trackerpie_graph.php	2009-11-05 19:15:11 UTC (rev 8338)
@@ -49,8 +49,8 @@
 }
 
 $area = getStringFromRequest('area');
-$start = getStringFromRequest('start');
-$end = getStringFromRequest('end');
+$start = getIntFromRequest('start');
+$end = getIntFromRequest('end');
 
 if (!isset($area)) {
 	$area='category';

Modified: trunk/gforge/www/reporting/useract.php
===================================================================
--- trunk/gforge/www/reporting/useract.php	2009-11-05 19:14:56 UTC (rev 8337)
+++ trunk/gforge/www/reporting/useract.php	2009-11-05 19:15:11 UTC (rev 8338)
@@ -39,9 +39,9 @@
 $sw = getStringFromRequest('sw');
 $dev_id = getStringFromRequest('dev_id');
 $area = getStringFromRequest('area');
-$SPAN = getStringFromRequest('SPAN');
-$start = getStringFromRequest('start');
-$end = getStringFromRequest('end');
+$SPAN = getIntFromRequest('SPAN');
+$start = getIntFromRequest('start');
+$end = getIntFromRequest('end');
 
 if (!$start) {
 	$z =& $report->getMonthStartArr();

Modified: trunk/gforge/www/reporting/useract_graph.php
===================================================================
--- trunk/gforge/www/reporting/useract_graph.php	2009-11-05 19:14:56 UTC (rev 8337)
+++ trunk/gforge/www/reporting/useract_graph.php	2009-11-05 19:15:11 UTC (rev 8338)
@@ -34,9 +34,9 @@
 session_require( array('group'=>$sys_stats_group) );
 
 $dev_id = getStringFromRequest('dev_id');
-$SPAN = getStringFromRequest('SPAN');
-$start = getStringFromRequest('start');
-$end = getStringFromRequest('end');
+$SPAN = getIntFromRequest('SPAN');
+$start = getIntFromRequest('start');
+$end = getIntFromRequest('end');
 $area = getStringFromRequest('area');
 
 //

Modified: trunk/gforge/www/reporting/useradded.php
===================================================================
--- trunk/gforge/www/reporting/useradded.php	2009-11-05 19:14:56 UTC (rev 8337)
+++ trunk/gforge/www/reporting/useradded.php	2009-11-05 19:15:11 UTC (rev 8338)
@@ -34,9 +34,9 @@
 	exit_error('Error',$report->getErrorMessage());
 }
 
-$SPAN = getStringFromRequest('SPAN');
-$start = getStringFromRequest('start');
-$end = getStringFromRequest('end');
+$SPAN = getIntFromRequest('SPAN');
+$start = getIntFromRequest('start');
+$end = getIntFromRequest('end');
 
 if (!$start) {
 	$z =& $report->getMonthStartArr();

Modified: trunk/gforge/www/reporting/useradded_graph.php
===================================================================
--- trunk/gforge/www/reporting/useradded_graph.php	2009-11-05 19:14:56 UTC (rev 8337)
+++ trunk/gforge/www/reporting/useradded_graph.php	2009-11-05 19:15:11 UTC (rev 8338)
@@ -32,9 +32,9 @@
 
 session_require( array('group'=>$sys_stats_group) );
 
-$SPAN = getStringFromRequest('SPAN');
-$start = getStringFromRequest('start');
-$end = getStringFromRequest('end');
+$SPAN = getIntFromRequest('SPAN');
+$start = getIntFromRequest('start');
+$end = getIntFromRequest('end');
 
 //
 //	Create Report

Modified: trunk/gforge/www/reporting/usercum.php
===================================================================
--- trunk/gforge/www/reporting/usercum.php	2009-11-05 19:14:56 UTC (rev 8337)
+++ trunk/gforge/www/reporting/usercum.php	2009-11-05 19:15:11 UTC (rev 8338)
@@ -34,9 +34,9 @@
 	exit_error($report->getErrorMessage());
 }
 
-$SPAN = getStringFromRequest('SPAN');
-$start = getStringFromRequest('start');
-$end = getStringFromRequest('end');
+$SPAN = getIntFromRequest('SPAN');
+$start = getIntFromRequest('start');
+$end = getIntFromRequest('end');
 
 if (!$start) {
 	$z =& $report->getMonthStartArr();

Modified: trunk/gforge/www/reporting/usercum_graph.php
===================================================================
--- trunk/gforge/www/reporting/usercum_graph.php	2009-11-05 19:14:56 UTC (rev 8337)
+++ trunk/gforge/www/reporting/usercum_graph.php	2009-11-05 19:15:11 UTC (rev 8338)
@@ -32,9 +32,9 @@
 
 session_require( array('group'=>$sys_stats_group) );
 
-$SPAN = getStringFromRequest('SPAN');
-$start = getStringFromRequest('start');
-$end = getStringFromRequest('end');
+$SPAN = getIntFromRequest('SPAN');
+$start = getIntFromRequest('start');
+$end = getIntFromRequest('end');
 
 //
 //	Create Report

Modified: trunk/gforge/www/reporting/usersummary.php
===================================================================
--- trunk/gforge/www/reporting/usersummary.php	2009-11-05 19:14:56 UTC (rev 8337)
+++ trunk/gforge/www/reporting/usersummary.php	2009-11-05 19:15:11 UTC (rev 8338)
@@ -36,8 +36,8 @@
 	exit_error($report->getErrorMessage());
 }
 
-$start = getStringFromRequest('start');
-$end = getStringFromRequest('end');
+$start = getIntFromRequest('start');
+$end = getIntFromRequest('end');
 $tstat = getStringFromRequest('tstat');
 
 if (!$start) {

Modified: trunk/gforge/www/reporting/usertime_graph.php
===================================================================
--- trunk/gforge/www/reporting/usertime_graph.php	2009-11-05 19:14:56 UTC (rev 8337)
+++ trunk/gforge/www/reporting/usertime_graph.php	2009-11-05 19:15:11 UTC (rev 8338)
@@ -36,8 +36,8 @@
 
 $dev_id = getStringFromRequest('dev_id');
 $type = getStringFromRequest('type');
-$start = getStringFromRequest('start');
-$end = getStringFromRequest('end');
+$start = getIntFromRequest('start');
+$end = getIntFromRequest('end');
 
 //
 //	Create Report

Modified: trunk/gforge/www/tracker/browse.php
===================================================================
--- trunk/gforge/www/tracker/browse.php	2009-11-05 19:14:56 UTC (rev 8337)
+++ trunk/gforge/www/tracker/browse.php	2009-11-05 19:15:11 UTC (rev 8338)
@@ -67,13 +67,13 @@
 	exit_error('Error',$af->getErrorMessage());
 }
 
-$offset = @getStringFromRequest('offset',$offset);
-$_sort_col = @getStringFromRequest('_sort_col',$_sort_col);
-$_sort_ord = @getStringFromRequest('_sort_ord',$_sort_ord);
-$max_rows = @getStringFromRequest('max_rows',$max_rows);
-$set = @getStringFromRequest('set',$set);
-$_assigned_to = @getStringFromRequest('_assigned_to',$_assigned_to);
-$_status = @getStringFromRequest('_status',$_status);
+$offset = getStringFromRequest('offset',$offset);
+$_sort_col = getStringFromRequest('_sort_col',$_sort_col);
+$_sort_ord = getStringFromRequest('_sort_ord',$_sort_ord);
+$max_rows = getStringFromRequest('max_rows',$max_rows);
+$set = getStringFromRequest('set',$set);
+$_assigned_to = getIntFromRequest('_assigned_to',$_assigned_to);
+$_status = getIntFromRequest('_status',$_status);
 $_extra_fields = array() ;
 $aux_extra_fields = array() ;
 if ($set == 'custom') {
@@ -389,7 +389,7 @@
 		<tr '. $HTML->boxGetAltRowStyle($i) . '>';
  		foreach ($browse_fields as $f) {
 			if ($f == 'id') {
-				echo '<td nowrap="nowrap">'.
+				echo '<td style="white-space: nowrap;">'.
 				($IS_ADMIN?'<input type="checkbox" name="artifact_id_list[]" value="'.
 				$art_arr[$i]->getID() .'" /> ':'').
 				'<a href="'.getStringFromServer('PHP_SELF').'?func=detail&amp;aid='.

Modified: trunk/gforge/www/tracker/reporting/index.php
===================================================================
--- trunk/gforge/www/tracker/reporting/index.php	2009-11-05 19:14:56 UTC (rev 8337)
+++ trunk/gforge/www/tracker/reporting/index.php	2009-11-05 19:15:11 UTC (rev 8338)
@@ -34,9 +34,9 @@
 $group_id = getIntFromRequest('group_id');
 $atid = getStringFromRequest('atid');
 $area = getStringFromRequest('area');
-$SPAN = getStringFromRequest('SPAN');
-$start = getStringFromRequest('start');
-$end = getStringFromRequest('end');
+$SPAN = getIntFromRequest('SPAN');
+$start = getIntFromRequest('start');
+$end = getIntFromRequest('end');
 
 if (!$SPAN)
 	$SPAN=REPORT_TYPE_MONTHLY;

Modified: trunk/gforge/www/tracker/reporting/trackeract_graph.php
===================================================================
--- trunk/gforge/www/tracker/reporting/trackeract_graph.php	2009-11-05 19:14:56 UTC (rev 8337)
+++ trunk/gforge/www/tracker/reporting/trackeract_graph.php	2009-11-05 19:15:11 UTC (rev 8338)
@@ -32,9 +32,9 @@
 
 $group_id = getIntFromRequest('group_id');
 $atid = getStringFromRequest('atid');
-$SPAN = getStringFromRequest('SPAN');
-$start = getStringFromRequest('start');
-$end = getStringFromRequest('end');
+$SPAN = getIntFromRequest('SPAN');
+$start = getIntFromRequest('start');
+$end = getIntFromRequest('end');
 
 if (!$SPAN) {
 	$SPAN=REPORT_TYPE_MONTHLY;

Modified: trunk/gforge/www/tracker/reporting/trackerpie_graph.php
===================================================================
--- trunk/gforge/www/tracker/reporting/trackerpie_graph.php	2009-11-05 19:14:56 UTC (rev 8337)
+++ trunk/gforge/www/tracker/reporting/trackerpie_graph.php	2009-11-05 19:15:11 UTC (rev 8338)
@@ -37,9 +37,9 @@
 $group_id = getIntFromRequest('group_id');
 $atid = getStringFromRequest('atid');
 $area = getStringFromRequest('area');
-$SPAN = getStringFromRequest('SPAN');
-$start = getStringFromRequest('start');
-$end = getStringFromRequest('end');
+$SPAN = getIntFromRequest('SPAN');
+$start = getIntFromRequest('start');
+$end = getIntFromRequest('end');
 //
 //	Create Report
 //




More information about the Fusionforge-commits mailing list