[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpwebhosting/inc html.inc.php,1.13,1.14 main.in
From: |
Jason Wies <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpwebhosting/inc html.inc.php,1.13,1.14 main.inc.php,1.14,1.15 |
Date: |
Sat, 09 Feb 2002 23:17:21 -0500 |
Update of /cvsroot/phpgroupware/phpwebhosting/inc
In directory subversions:/tmp/cvs-serv27600/inc
Modified Files:
html.inc.php main.inc.php
Log Message:
PHP3 fixes
Index: html.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpwebhosting/inc/html.inc.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** html.inc.php 16 Jan 2002 06:31:33 -0000 1.13
--- html.inc.php 10 Feb 2002 04:17:19 -0000 1.14
***************
*** 368,372 ****
/* $phpgw->link requires that the extra vars be passed
separately */
! $link_parts = explode ("?", $href, 2);
$address = $GLOBALS['phpgw']->link ($link_parts[0],
$link_parts[1]);
}
--- 368,372 ----
/* $phpgw->link requires that the extra vars be passed
separately */
! $link_parts = explode ("?", $href);
$address = $GLOBALS['phpgw']->link ($link_parts[0],
$link_parts[1]);
}
Index: main.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpwebhosting/inc/main.inc.php,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** main.inc.php 10 Dec 2001 04:04:56 -0000 1.14
--- main.inc.php 10 Feb 2002 04:17:19 -0000 1.15
***************
*** 180,184 ****
if (preg_match ("/=(.*)(&|$)/U", $string))
{
! $rstring = preg_replace ("/=(.*)(&|$)/Ue", "'=' . rawurlencode
(base64_encode ('\\1')) . '\\2'", $string);
}
elseif (ereg ('^'.$GLOBALS['hostname'], $string))
--- 180,193 ----
if (preg_match ("/=(.*)(&|$)/U", $string))
{
! $rstring = $string;
!
! preg_match_all ("/=(.*)(&|$)/U", $string, $matches,
PREG_SET_ORDER);
!
! reset ($matches);
! while (list (,$match_array) = each ($matches))
! {
! $var_encoded = rawurlencode (base64_encode
($match_array[1]));
! $rstring = str_replace ($match_array[0], '=' .
$var_encoded . $match_array[2], $rstring);
! }
}
elseif (ereg ('^'.$GLOBALS['hostname'], $string))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpwebhosting/inc html.inc.php,1.13,1.14 main.inc.php,1.14,1.15,
Jason Wies <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: registration/inc hook_admin.inc.php,1.4,1.4.2.1
- Next by Date:
[Phpgroupware-cvs] CVS: phpwebhosting index.php,1.31,1.32 preferences.php,1.6,1.7 test.php,1.7,1.8
- Previous by thread:
[Phpgroupware-cvs] CVS: registration/inc hook_admin.inc.php,1.4,1.4.2.1
- Next by thread:
[Phpgroupware-cvs] CVS: phpwebhosting index.php,1.31,1.32 preferences.php,1.6,1.7 test.php,1.7,1.8
- Index(es):