Browse Source

fixed request uri query string

develop
Robin Thoni 8 years ago
parent
commit
306b45109c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/Utils/Controller/LuticateApplication.php

+ 1
- 1
src/Utils/Controller/LuticateApplication.php View File

139
     public function runHttp()
139
     public function runHttp()
140
     {
140
     {
141
         $httpMethod = $_SERVER['REQUEST_METHOD'];
141
         $httpMethod = $_SERVER['REQUEST_METHOD'];
142
-        $url = $_SERVER['REQUEST_URI'];
142
+        $url = strtok($_SERVER["REQUEST_URI"],'?');
143
         $parameters = array_merge($_GET, $_POST);
143
         $parameters = array_merge($_GET, $_POST);
144
         
144
         
145
         $r = $this->dispatch($httpMethod, $url, $parameters);
145
         $r = $this->dispatch($httpMethod, $url, $parameters);

Loading…
Cancel
Save