From: <ji...@us...> - 2007-05-18 19:04:23
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10511/functions Modified Files: sanitize.php Log Message: another set of bug fixes. Should fix rss problem Index: sanitize.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/sanitize.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** sanitize.php 17 May 2007 12:06:40 -0000 1.2 --- sanitize.php 18 May 2007 19:04:23 -0000 1.3 *************** *** 35,43 **** if (!is_array($val)){ $val = strip_tags($val); ! $_REQUEST['cal'] = strip_tags($val); }else{ ! unset ($_REQUEST['cal']); foreach($val as $cal){ ! $_REQUEST['cal'][]= strip_tags($cal); } } --- 35,43 ---- if (!is_array($val)){ $val = strip_tags($val); ! $_GET['cal'] = strip_tags($val); }else{ ! unset ($_GET['cal']); foreach($val as $cal){ ! $_GET['cal'][]= strip_tags($cal); } } *************** *** 49,53 **** $val = strip_tags($val); } ! $_GET[$key] = $val; } --- 49,53 ---- $val = strip_tags($val); } ! if ($key != 'cal') $_GET[$key] = $val; } |