[Jaws-commits] r12509 - branches/0.8/html/include

afz at jaws-project.com afz at jaws-project.com
Sat Jan 28 20:31:35 UTC 2012


Author: afz
Date: 2012-01-28 20:31:35 +0000 (Sat, 28 Jan 2012)
New Revision: 12509

Modified:
   branches/0.8/html/include/Jaws.php
Log:
urlencoded jaws working directory according rfc 3986

Modified: branches/0.8/html/include/Jaws.php
===================================================================
--- branches/0.8/html/include/Jaws.php	2012-01-27 22:35:54 UTC (rev 12508)
+++ branches/0.8/html/include/Jaws.php	2012-01-28 20:31:35 UTC (rev 12509)
@@ -967,6 +967,9 @@
                 }
                 $site_url['path'] = substr($path, 0, stripos($path, BASE_SCRIPT)-1);
             }
+
+            $site_url['path'] = explode('/', $site_url['path']);
+            $site_url['path'] = implode('/', array_map('rawurlencode', $site_url['path']));
         }
 
         $url = $site_url['path'];



More information about the Jaws-commits mailing list