6 Apr 2006 02:24
mantisbt view_all_set.php,1.60,1.61
Update of /cvsroot/mantisbt/mantisbt In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7920 Modified Files: view_all_set.php Log Message: fix for #0006902: XSS in mantis bug track system .... Index: view_all_set.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/view_all_set.php,v retrieving revision 1.60 retrieving revision 1.61 diff -u -d -r1.60 -r1.61 --- view_all_set.php 18 Dec 2005 14:27:01 -0000 1.60 +++ view_all_set.php 6 Apr 2006 00:24:45 -0000 1.61 <at> <at> -160,12 +160,12 <at> <at> $f_dir_1 = gpc_get_string( 'dir_1', '' ); # date values - $f_start_month = gpc_get_string( 'start_month', date( 'm' ) ); - $f_end_month = gpc_get_string( 'end_month', date( 'm' ) ); - $f_start_day = gpc_get_string( 'start_day', 1 ); - $f_end_day = gpc_get_string( 'end_day', date( 'd' ) ); - $f_start_year = gpc_get_string( 'start_year', date( 'Y' ) ); - $f_end_year = gpc_get_string( 'end_year', date( 'Y' ) ); + $f_start_month = gpc_get_int( 'start_month', date( 'm' ) ); + $f_end_month = gpc_get_int( 'end_month', date( 'm' ) ); + $f_start_day = gpc_get_int( 'start_day', 1 ); + $f_end_day = gpc_get_int( 'end_day', date( 'd' ) );(Continue reading)
RSS Feed