summaryrefslogtreecommitdiff
path: root/src/PSR7Client.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/PSR7Client.php')
-rw-r--r--src/PSR7Client.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PSR7Client.php b/src/PSR7Client.php
index cb3b7a7b..4efb3f04 100644
--- a/src/PSR7Client.php
+++ b/src/PSR7Client.php
@@ -133,7 +133,7 @@ class PSR7Client
{
$server = $this->originalServer;
- $server['REQUEST_URI'] = $rawRequest['ctx']['uri'];
+ $server['REQUEST_URI'] = $ctx['uri'];
$server['REQUEST_TIME'] = time();
$server['REQUEST_TIME_FLOAT'] = microtime(true);
$server['REMOTE_ADDR'] = $ctx['attributes']['ipAddress'] ?? $ctx['remoteAddr'] ?? '127.0.0.1';