We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dc5b6b commit 75dc8d5Copy full SHA for 75dc8d5
src/Connector/NetteConnector.php
@@ -47,7 +47,7 @@ public function doRequest($request)
47
$_FILES = $request->getFiles();
48
49
$_SERVER['REQUEST_METHOD'] = $method = strtoupper($request->getMethod());
50
- $_SERVER['REQUEST_URI'] = $uri = str_replace('http://localhost', '', $request->getUri());
+ $_SERVER['REQUEST_URI'] = str_replace('http://localhost', '', $request->getUri());
51
$_SERVER['REMOTE_ADDR'] = '127.0.0.1';
52
53
if ($method === 'HEAD' || $method === 'GET') {
0 commit comments