[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgwapi/inc class.setup.inc.php,1.15.2.4,1.15.2
From: |
Dave Hall <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgwapi/inc class.setup.inc.php,1.15.2.4,1.15.2.5 |
Date: |
Wed, 28 May 2003 22:10:18 -0400 |
Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv24855
Modified Files:
Tag: Version-0_9_16-branch
class.setup.inc.php
Log Message:
added stripslashes for passwords
Index: class.setup.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.setup.inc.php,v
retrieving revision 1.15.2.4
retrieving revision 1.15.2.5
diff -C2 -r1.15.2.4 -r1.15.2.5
*** class.setup.inc.php 28 May 2003 02:46:31 -0000 1.15.2.4
--- class.setup.inc.php 29 May 2003 02:10:15 -0000 1.15.2.5
***************
*** 104,108 ****
{
/* header admin login */
! if($FormPW ==
$GLOBALS['phpgw_info']['server']['header_admin_password'])
{
setcookie('HeaderPW',"$FormPW","$expire");
--- 104,108 ----
{
/* header admin login */
! if($FormPW ==
stripslashes($GLOBALS['phpgw_info']['server']['header_admin_password']))
{
setcookie('HeaderPW',"$FormPW","$expire");
***************
*** 120,124 ****
{
/* config login */
! if($FormPW ==
@$GLOBALS['phpgw_domain'][$FormDomain]['config_passwd'])
{
setcookie('ConfigPW',"$FormPW","$expire");
--- 120,124 ----
{
/* config login */
! if($FormPW ==
stripslashes(@$GLOBALS['phpgw_domain'][$FormDomain]['config_passwd']))
{
setcookie('ConfigPW',"$FormPW","$expire");
***************
*** 162,166 ****
{
/* Returning after login to config */
! if($ConfigPW ==
$GLOBALS['phpgw_domain'][$ConfigDomain]['config_passwd'])
{
setcookie('ConfigPW',"$ConfigPW","$expire");
--- 162,166 ----
{
/* Returning after login to config */
! if($ConfigPW ==
stripslashes($GLOBALS['phpgw_domain'][$ConfigDomain]['config_passwd']))
{
setcookie('ConfigPW',"$ConfigPW","$expire");
***************
*** 179,183 ****
{
/* Returning after login to header admin */
! if($HeaderPW ==
$GLOBALS['phpgw_info']['server']['header_admin_password'])
{
setcookie('HeaderPW',"$HeaderPW","$expire");
--- 179,183 ----
{
/* Returning after login to header admin */
! if($HeaderPW ==
stripslashes($GLOBALS['phpgw_info']['server']['header_admin_password']))
{
setcookie('HeaderPW',"$HeaderPW","$expire");
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgwapi/inc class.setup.inc.php,1.15.2.4,1.15.2.5,
Dave Hall <address@hidden> <=