Browse code

uri started with /%23 support in basePath

RafaƂ Szklarczyk authored on 21/08/2019 14:11:57
Showing 1 changed files
... ...
@@ -49,7 +49,7 @@ class Application{
49 49
             return strstr($_SERVER['REQUEST_URI'], $this->request->path, true);
50 50
         }
51 51
         else
52
-            return explode('?',$_SERVER['REQUEST_URI'],2)[0];
52
+            return explode('%23',explode('?',$_SERVER['REQUEST_URI'],2)[0],2)[0];
53 53
     }
54 54
 
55 55
     public function getServerURL(){