Skip to content

Commit

Permalink
Resolves Issue 43
Browse files Browse the repository at this point in the history
  • Loading branch information
devadattas authored Jul 6, 2018
1 parent 76b182c commit 0023729
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/RequestCreator.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ private static function createCustomRequest($get = [], $post = [], $attrs = [],
$server = $_SERVER;
}

$requestUri = $_SERVER['PATH_INFO'];
$requestUri = $_SERVER['REQUEST_URI'];
$requestQueryString = '';

if (count($get) > 0) {
Expand All @@ -58,4 +58,4 @@ private static function createCustomRequest($get = [], $post = [], $attrs = [],

return new Request($get, $post, $attrs, $cookies, $files, $server);
}
}
}

0 comments on commit 0023729

Please sign in to comment.