phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: filemanager index.php,1.30.2.9.2.1,1.30.2.9.2.2


From: Dave Hall <address@hidden>
Subject: [Phpgroupware-cvs] CVS: filemanager index.php,1.30.2.9.2.1,1.30.2.9.2.2
Date: Tue, 10 Jun 2003 18:26:14 -0400

Update of /cvsroot/phpgroupware/filemanager
In directory subversions:/tmp/cvs-serv3970

Modified Files:
      Tag: Version-0_9_16-branch
        index.php 
Log Message:
fix for bad paths - thanks michael totschnig

Index: index.php
===================================================================
RCS file: /cvsroot/phpgroupware/filemanager/index.php,v
retrieving revision 1.30.2.9.2.1
retrieving revision 1.30.2.9.2.2
diff -C2 -r1.30.2.9.2.1 -r1.30.2.9.2.2
*** index.php   21 Apr 2003 15:58:10 -0000      1.30.2.9.2.1
--- index.php   10 Jun 2003 22:26:12 -0000      1.30.2.9.2.2
***************
*** 57,69 ****
                        {
                                $temp = array ();
                                while (list ($varkey, $varvalue) = each ($$var))
                                {
                                        if (is_int ($varkey))
                                        {
!                                               $temp[$varkey] = stripslashes 
(base64_decode ($varvalue));
                                        }
                                        else
                                        {
!                                               $temp[stripslashes 
(base64_decode ($varkey))] = $varvalue;
                                        }
                                }
--- 57,70 ----
                        {
                                $temp = array ();
+       //some fixes in this section were supplied by Michael Totschnig
                                while (list ($varkey, $varvalue) = each ($$var))
                                {
                                        if (is_int ($varkey))
                                        {
!                                               $temp[$varkey] = stripslashes 
(base64_decode(urldecode(($varvalue))));
                                        }
                                        else
                                        {
!                                               $temp[stripslashes 
(base64_decode(urldecode(($varkey))))] = $varvalue;
                                        }
                                }
***************
*** 72,76 ****
                        elseif (isset ($$var))
                        {
!                               $$var = stripslashes (base64_decode ($$var));
                        }
                }
--- 73,77 ----
                        elseif (isset ($$var))
                        {
!                               $$var = stripslashes (base64_decode(urldecode 
($$var)));
                        }
                }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]