@@ -139,7 +139,7 @@ class LuticateApplication implements MessageComponentInterface
public function runHttp()
{
$httpMethod = $_SERVER['REQUEST_METHOD'];
- $url = $_SERVER['REQUEST_URI'];
+ $url = strtok($_SERVER["REQUEST_URI"],'?');
$parameters = array_merge($_GET, $_POST);
$r = $this->dispatch($httpMethod, $url, $parameters);