[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/inc functions.inc.php
From: |
Sigurd Nes |
Subject: |
[Phpgroupware-cvs] phpgwapi/inc functions.inc.php |
Date: |
Tue, 20 Jun 2006 07:01:18 +0000 |
CVSROOT: /sources/phpgwapi
Module name: phpgwapi
Changes by: Sigurd Nes <sigurdne> 06/06/20 07:01:18
Modified files:
inc : functions.inc.php
Log message:
third time lucky - have to stripslashes from cookie-value before
unserialize
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/functions.inc.php?cvsroot=phpgwapi&r1=1.190&r2=1.191
Patches:
Index: functions.inc.php
===================================================================
RCS file: /sources/phpgwapi/phpgwapi/inc/functions.inc.php,v
retrieving revision 1.190
retrieving revision 1.191
diff -u -b -r1.190 -r1.191
--- functions.inc.php 19 Jun 2006 15:40:21 -0000 1.190
+++ functions.inc.php 20 Jun 2006 07:01:18 -0000 1.191
@@ -7,7 +7,7 @@
* @license http://www.fsf.org/licenses/lgpl.html GNU Lesser General
Public License
* @package phpgwapi
* @subpackage utilities
- * @version $Id: functions.inc.php,v 1.190 2006/06/19 15:40:21 sigurdne
Exp $
+ * @version $Id: functions.inc.php,v 1.191 2006/06/20 07:01:18 sigurdne
Exp $
*/
@@ -332,7 +332,7 @@
$GLOBALS['phpgw']->redirect_link('/login.php','cd=10');
}
- $redirect =
unserialize(get_var('redirect',array('GET','COOKIE')));
+ $redirect =
unserialize(stripslashes(get_var('redirect',array('GET','COOKIE'))));
if($redirect)
{