phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] phpgwapi/inc class.http_dav_client.inc.php,1.13


From: Caeies
Subject: [Phpgroupware-cvs] phpgwapi/inc class.http_dav_client.inc.php,1.13
Date: Wed, 30 Nov 2005 14:13:00 +0100

Update of phpgwapi/inc

Modified Files:
     Branch: MAIN
            class.http_dav_client.inc.php lines: +2 -2

Log Message:
added an urldecode, when needed by the properties href, this solve some 
problems when using special chars in file/directory names like space == %20 ...

====================================================
Index: phpgwapi/inc/class.http_dav_client.inc.php
diff -u phpgwapi/inc/class.http_dav_client.inc.php:1.12 
phpgwapi/inc/class.http_dav_client.inc.php:1.13
--- phpgwapi/inc/class.http_dav_client.inc.php:1.12     Tue Apr 26 09:43:08 2005
+++ phpgwapi/inc/class.http_dav_client.inc.php  Wed Nov 30 13:13:57 2005
@@ -80,7 +80,7 @@
                                        switch ($attribute = $b->node_name())
                                        {
                                                case 'href':
-                                                       $string = 
trim($c->node_value());
+                                                       $string = 
urldecode(trim($c->node_value()));
                                                        $idx = 
strrpos($string,SEP);
                                                        if( $idx && ($idx == 
strlen( $string ) - 1 ) )
                                                        {






reply via email to

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