chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From richa...@apache.org
Subject svn commit: r1134968 - /chemistry/phpclient/trunk/lib/cmis_repository_wrapper.php
Date Sun, 12 Jun 2011 19:40:33 GMT
Author: richardm
Date: Sun Jun 12 19:40:33 2011
New Revision: 1134968

URL: http://svn.apache.org/viewvc?rev=1134968&view=rev
Log:
Apply Patch for CMIS-300

Modified:
    chemistry/phpclient/trunk/lib/cmis_repository_wrapper.php

Modified: chemistry/phpclient/trunk/lib/cmis_repository_wrapper.php
URL: http://svn.apache.org/viewvc/chemistry/phpclient/trunk/lib/cmis_repository_wrapper.php?rev=1134968&r1=1134967&r2=1134968&view=diff
==============================================================================
--- chemistry/phpclient/trunk/lib/cmis_repository_wrapper.php (original)
+++ chemistry/phpclient/trunk/lib/cmis_repository_wrapper.php Sun Jun 12 19:40:33 2011
@@ -420,7 +420,7 @@ class CMISRepositoryWrapper
     
     function handleSpaces($path)
     {
-        return $this->do_not_urlencode ? $path : str_replace(" ","%20",str_replace("%","%25",$path));
+        return $this->do_not_urlencode ? $path : rawurlencode($path);
     }
 
     static function extractTypeDef($xmldata)



Mime
View raw message